Welcome to Scytale Cipher’s documentation!

Scytale Cipher

Encode or decode a string with the scytale cipher

scytale_cipher.main_menu(menu: str) None

enters the cli-wizard menu loop

Menu

menu prompt string

scytale_cipher.scytale_init(input: str, diameter: int, mode: int) str

prepare process of scytale mode

Input

user input string

Diameter

user diameter or default

Mode

bool to predict if input has to be encoded or decoded

Returns

encoded or decoded string

scytale_cipher.scytale_process(input: str, diameter: int) str

process encoding or decoding of a string.

Input

user input string

Diameter

user diameter or default

Returns

with scytale encoded string

Indices and tables