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

Implementation of the Nihilist additive coordinate cipher. More...

Inheritance diagram for NihilistCipher:
Inheritance graph
Collaboration diagram for NihilistCipher:
Collaboration graph

Public Member Functions

 constructor ()
 Constructor for Nihilist cipher.
 

Data Fields

readonly CipherName = "Nihilist"
 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 Nihilist additive coordinate cipher.

First converts both plaintext and key to Polybius coordinates, then adds corresponding coordinate values to create encrypted numbers. Used by Russian nihilist revolutionaries in the 19th century.

Definition at line 22 of file nihilist.ts.

Member Function Documentation

◆ constructor()

NihilistCipher::constructor ( )
inline

Constructor for Nihilist cipher.

Initializes the cipher using Polybius square for coordinate conversion.

Definition at line 32 of file nihilist.ts.

Field Documentation

◆ CipherName

readonly NihilistCipher::CipherName = "Nihilist"

Identifier name for this cipher.

Definition at line 26 of file nihilist.ts.


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