Crate crypt_utils

Source
Expand description

Utilities for use with classical cryptographic functions (e.g. Caesar, Vigenere, etc.)

DISCLAIMER: This module and its functions are purely for entertainment or study. It is in no way appropriate for any situation in which cryptographic security is required.

Structs§

KeyGenerator
Contains fields to be used by a generator that produces keys to transform plaintext using the given keyword.

Functions§

wrapped_shift_letters
Shifts the given char by the given amount, wrapping back around to the beginning of the alphabet if shift_by is greater than the amount of letters left in the alphabet.