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


Public Member Functions | |
| constructor () | |
| Constructor for ROT13 cipher. | |
Data Fields | |
| readonly | CipherName = "ROT13" |
| 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 ROT13 substitution cipher.
A special case of Caesar cipher with a fixed shift of 13. Due to the 26-letter alphabet, shifting by 13 twice (13 + 13 = 26 ≡ 0 mod 26) returns to the original character, making ROT13 self-inverse.
|
inline |
| readonly ROT13Cipher::CipherName = "ROT13" |