Asper Header  1.0.14
The header injector extension
Loading...
Searching...
No Matches
AutokeyCipher Class Reference

Implementation of the Autokey polyalphabetic substitution cipher. More...

Inheritance diagram for AutokeyCipher:
Inheritance graph
Collaboration diagram for AutokeyCipher:
Collaboration graph

Public Member Functions

 constructor ()
 Constructor for Autokey cipher.
 

Data Fields

readonly CipherName = "Autokey"
 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.
 

Detailed Description

Implementation of the Autokey polyalphabetic substitution cipher.

Extends Vigenère by appending plaintext to the key, creating a non-repeating key stream. The key starts with the provided keyword followed by the plaintext characters themselves.

Definition at line 21 of file autoKey.ts.

Member Function Documentation

◆ constructor()

AutokeyCipher::constructor ( )
inline

Constructor for Autokey cipher.

Initializes the cipher. The initial key and plaintext are provided during encode/decode operations to build the extended key.

Definition at line 32 of file autoKey.ts.

Field Documentation

◆ CipherName

readonly AutokeyCipher::CipherName = "Autokey"

Identifier name for this cipher.

Definition at line 25 of file autoKey.ts.


The documentation for this class was generated from the following file: