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

Simplified implementation of the VIC (Soviet spy) cipher. More...

Inheritance diagram for VICCipher:
Inheritance graph
Collaboration diagram for VICCipher:
Collaboration graph

Public Member Functions

 constructor ()
 Constructor for simplified VIC cipher.
 

Data Fields

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

Simplified implementation of the VIC (Soviet spy) cipher.

Chains two cipher operations: Columnar Transposition followed by Vigenère substitution. The historical VIC was much more complex, involving digit conversion and multiple transposition steps.

Definition at line 23 of file vic.ts.

Member Function Documentation

◆ constructor()

VICCipher::constructor ( )
inline

Constructor for simplified VIC cipher.

Initializes the cipher components (Columnar and Vigenère).

Definition at line 33 of file vic.ts.

Field Documentation

◆ CipherName

readonly VICCipher::CipherName = "VIC"

Identifier name for this cipher.

Definition at line 27 of file vic.ts.


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