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

Implementation of Bacon's binary steganographic cipher. More...

Inheritance diagram for BaconCipher:
Inheritance graph
Collaboration diagram for BaconCipher:
Collaboration graph

Public Member Functions

 constructor ()
 Constructor for Bacon cipher.
 

Data Fields

readonly CipherName = "Bacon"
 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 Bacon's binary steganographic cipher.

Converts each letter to a 5-bit binary code represented by A (0) and B (1). The position of each letter in the alphabet determines its binary value. Originally designed to be hidden in typographic variations.

Definition at line 21 of file bacon.ts.

Member Function Documentation

◆ constructor()

BaconCipher::constructor ( )
inline

Constructor for Bacon cipher.

Initializes the cipher. No configuration needed as encoding is based on fixed alphabetic positions.

Definition at line 32 of file bacon.ts.

Field Documentation

◆ CipherName

readonly BaconCipher::CipherName = "Bacon"

Identifier name for this cipher.

Definition at line 25 of file bacon.ts.


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