|
Asper Header
1.0.14
The header injector extension
|
Implementation of XOR (Exclusive OR) encryption/decryption. More...


Public Member Functions | |
| constructor () | |
| Constructor for XOR cipher. | |
Data Fields | |
| readonly | CipherName = "XOR" |
| 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 XOR (Exclusive OR) encryption/decryption.
Performs byte-wise XOR operations between input data and a repeating key. The same operation serves for both encryption and decryption due to the self-inverse property of XOR. Output is hex-encoded for safe text transport.
|
inline |
| readonly XORCipher::CipherName = "XOR" |