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

Implementation of the Pigpen (Freemason's) substitution cipher. More...

Inheritance diagram for PigpenCipher:
Inheritance graph
Collaboration diagram for PigpenCipher:
Collaboration graph

Public Member Functions

 constructor ()
 Constructor for Pigpen cipher.
 

Data Fields

readonly CipherName = "Pigpen"
 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 Pigpen (Freemason's) substitution cipher.

Uses geometric grid patterns to represent letters. This implementation uses ASCII symbols to represent the traditional pigpen symbols for text-based encoding and decoding.

Definition at line 21 of file pigpen.ts.

Member Function Documentation

◆ constructor()

PigpenCipher::constructor ( )
inline

Constructor for Pigpen cipher.

Initializes the symbol mapping using ASCII characters to represent the traditional pigpen geometric patterns.

Definition at line 42 of file pigpen.ts.

Field Documentation

◆ CipherName

readonly PigpenCipher::CipherName = "Pigpen"

Identifier name for this cipher.

Definition at line 25 of file pigpen.ts.


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