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

Implementation of the Porta polyalphabetic reciprocal cipher. More...

Inheritance diagram for PortaCipher:
Inheritance graph
Collaboration diagram for PortaCipher:
Collaboration graph

Public Member Functions

 constructor ()
 Constructor for Porta cipher.
 

Data Fields

readonly CipherName = "Porta"
 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 Porta polyalphabetic reciprocal cipher.

Uses a simplified half-shift Vigenère-like method instead of the full digraph tableau. The cipher is reciprocal, meaning the same operation serves for both encoding and decoding.

Definition at line 21 of file porta.ts.

Member Function Documentation

◆ constructor()

PortaCipher::constructor ( )
inline

Constructor for Porta cipher.

Initializes the simplified Porta cipher implementation. Uses half-shift Vigenère-like method for compatibility.

Definition at line 32 of file porta.ts.

Field Documentation

◆ CipherName

readonly PortaCipher::CipherName = "Porta"

Identifier name for this cipher.

Definition at line 25 of file porta.ts.


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