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

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

Inheritance diagram for GronsfeldCipher:
Inheritance graph
Collaboration diagram for GronsfeldCipher:
Collaboration graph

Public Member Functions

 constructor ()
 Constructor for Gronsfeld cipher.
 

Data Fields

readonly CipherName = "Gronsfeld"
 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 Gronsfeld polyalphabetic substitution cipher.

Uses numeric keys where each digit (0-9) directly represents the shift amount for Caesar-style character substitution. Simpler than Vigenère as it avoids alphabet-to-number conversion.

Definition at line 21 of file gronsfeld.ts.

Member Function Documentation

◆ constructor()

GronsfeldCipher::constructor ( )
inline

Constructor for Gronsfeld cipher.

Initializes the cipher. Numeric key is provided during encode/decode operations.

Definition at line 31 of file gronsfeld.ts.

Field Documentation

◆ CipherName

readonly GronsfeldCipher::CipherName = "Gronsfeld"

Identifier name for this cipher.

Definition at line 25 of file gronsfeld.ts.


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