|
Asper Header
1.0.14
The header injector extension
|
Implementation of the ancient Scytale transposition cipher. More...


Public Member Functions | |
| constructor () | |
| Constructor for Scytale cipher. | |
Data Fields | |
| readonly | CipherName = "Scytale" |
| Identifier name for this cipher. | |
Data Fields inherited from BaseCipher | |
| abstract abstract encode(plaintext:string, key?:any) abstract decode(ciphertext:string, key?:any) readonly | CipherName: string |
| Abstract method to encode plaintext. | |
Additional Inherited Members | |
Static Public Attributes inherited from BaseCipher | |
| static readonly | ALPHABET: string = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" |
| Standard English alphabet for cipher operations. | |
Implementation of the ancient Scytale transposition cipher.
Simulates wrapping text around a cylindrical rod by arranging characters in a grid format, then reading them in a different order to create the transposition effect.
Definition at line 21 of file scytale.ts.
|
inline |
Constructor for Scytale cipher.
Initializes the cipher. The rod diameter is specified during encode/decode operations.
Definition at line 31 of file scytale.ts.
| readonly ScytaleCipher::CipherName = "Scytale" |
Identifier name for this cipher.
Definition at line 25 of file scytale.ts.