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

Implementation of Baudot telegraph code encoding. More...

Inheritance diagram for BaudotCipher:
Inheritance graph
Collaboration diagram for BaudotCipher:
Collaboration graph

Public Member Functions

 constructor ()
 Constructor for Baudot code cipher.
 

Data Fields

readonly CipherName = "Baudot"
 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 Baudot telegraph code encoding.

Converts letters to telegraph code patterns (using Morse-like notation for simplicity). Historically used 5-bit codes for teleprinter systems.

Definition at line 20 of file baudot.ts.

Member Function Documentation

◆ constructor()

BaudotCipher::constructor ( )
inline

Constructor for Baudot code cipher.

Initializes the letter-to-code mapping tables using Morse-like patterns for demonstration purposes.

Definition at line 41 of file baudot.ts.

Field Documentation

◆ CipherName

readonly BaudotCipher::CipherName = "Baudot"

Identifier name for this cipher.

Definition at line 24 of file baudot.ts.


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