|
Asper Header
1.0.14
The header injector extension
|
Abstract base class providing common functionality for cipher implementations. More...


Data Fields | |
| abstract abstract encode(plaintext:string, key?:any) abstract decode(ciphertext:string, key?:any) readonly | CipherName: string |
| Abstract method to encode plaintext. | |
Static Public Attributes | |
| static readonly | ALPHABET: string = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" |
| Standard English alphabet for cipher operations. | |
Abstract base class providing common functionality for cipher implementations.
This class implements the CipherI interface and provides utility methods commonly used across different cipher types. All concrete cipher classes should extend this base class to inherit shared functionality.
Definition at line 18 of file baseCipher.ts.
|
static |
Standard English alphabet for cipher operations.
Used as reference for alphabetic substitution ciphers
Definition at line 44 of file baseCipher.ts.
| abstract abstract encode (plaintext: string, key?: any) abstract decode (ciphertext: string, key?: any) readonly BaseCipher::CipherName |
Abstract method to encode plaintext.
| plaintext | The text to encode |
| key | Optional key parameter (implementation specific) |
Abstract method to decode ciphertext
| ciphertext | The text to decode |
| key | Optional key parameter (implementation specific) |
Abstract property defining the cipher's name
Definition at line 38 of file baseCipher.ts.