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

Implementation of the Tap Code prisoner communication cipher. More...

Inheritance diagram for TapCodeCipher:
Inheritance graph
Collaboration diagram for TapCodeCipher:
Collaboration graph

Public Member Functions

 constructor ()
 Constructor for Tap Code cipher.
 

Data Fields

readonly CipherName = "Tap Code"
 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.
 

Static Public Attributes

static readonly ALPHABET: string = "ABCDEFGHIKLMNOPQRSTUVWXYZ"
 Modified alphabet for 5×5 grid (excludes J, shares with I)
 
- Static Public Attributes inherited from BaseCipher
static readonly ALPHABET: string = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
 Standard English alphabet for cipher operations.
 

Detailed Description

Implementation of the Tap Code prisoner communication cipher.

Uses a 5×5 grid where each letter is encoded as two groups of dots representing row and column positions. Originally used by American POWs in Vietnam for silent communication through wall tapping.

Definition at line 22 of file tapcode.ts.

Member Function Documentation

◆ constructor()

TapCodeCipher::constructor ( )
inline

Constructor for Tap Code cipher.

Initializes the cipher using the 25-letter alphabet (I/J combined).

Definition at line 37 of file tapcode.ts.

Field Documentation

◆ ALPHABET

readonly TapCodeCipher::ALPHABET
static

Modified alphabet for 5×5 grid (excludes J, shares with I)

Definition at line 31 of file tapcode.ts.

◆ CipherName

readonly TapCodeCipher::CipherName = "Tap Code"

Identifier name for this cipher.

Definition at line 26 of file tapcode.ts.


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