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

Implementation of double columnar transposition cipher. More...

Inheritance diagram for DoubleTranspositionCipher:
Inheritance graph
Collaboration diagram for DoubleTranspositionCipher:
Collaboration graph

Public Member Functions

 constructor ()
 Constructor for Double Transposition cipher.
 

Data Fields

readonly CipherName = "DoubleTransposition"
 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 double columnar transposition cipher.

Applies two successive columnar transpositions to greatly increase cipher strength. Can use the same key twice or two different keys for the two transposition operations.

Definition at line 22 of file doubleTransposition.ts.

Member Function Documentation

◆ constructor()

DoubleTranspositionCipher::constructor ( )
inline

Constructor for Double Transposition cipher.

Initializes the cipher using two ColumnarCipher instances.

Definition at line 32 of file doubleTransposition.ts.

Field Documentation

◆ CipherName

readonly DoubleTranspositionCipher::CipherName = "DoubleTransposition"

Identifier name for this cipher.

Definition at line 26 of file doubleTransposition.ts.


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