|
Asper Header
1.0.14
The header injector extension
|
Implementation of the Polybius Square substitution cipher. More...


Public Member Functions | |
| constructor () | |
| Constructor for Polybius Square cipher. | |
Data Fields | |
| readonly | CipherName = "Polybius" |
| 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 Polybius Square substitution cipher.
Uses a 5×5 grid where each letter is represented by its row and column coordinates. The grid arrangement allows letters to be encoded as two-digit numbers, enabling transmission via limited signaling methods.
Definition at line 21 of file polybius.ts.
|
inline |
Constructor for Polybius Square cipher.
Builds the 5×5 grid mapping with letters A-Z (I and J share position). Creates both forward and inverse lookup tables for encoding/decoding.
Definition at line 42 of file polybius.ts.
| readonly PolybiusCipher::CipherName = "Polybius" |
Identifier name for this cipher.
Definition at line 25 of file polybius.ts.