Cipher
Class providing classic text encryption algorithms.
Methods
@staticmethod def transposition_cipher(text: str) -> str
Rearranges uppercase string characters by even and odd indices.
@staticmethod def caesar_cipher(text: str, shift: int) -> str
Applies Caesar shift substitution across alphabetic characters.
@staticmethod def keyword_cipher(text: str, keyword: str) -> str
Substitutes characters based on an alphabet re-ordered by a keyword.
@staticmethod def giovanni_cipher(text: str, keyword: str, key_letter: str) -> str
Keyword substitution cipher with key-letter index shifting.