45 encode(input:
string):
string {
48 .map(character => this.shiftChar(character, 13))
60 decode(input:
string):
string {
61 return this.encode(input);
Abstract base class providing common functionality for cipher implementations.
Implementation of the ROT13 substitution cipher.
readonly CipherName
Identifier name for this cipher.
constructor()
Constructor for ROT13 cipher.
export const Record< string,(...args:any[])=> string