|
Asper Header
1.0.14
The header injector extension
|
Implementation of the Affine cipher. More...
Go to the source code of this file.
Data Structures | |
| class | AffineCipher |
| Implementation of the Affine substitution cipher. More... | |
Variables | |
| import { BaseCipher } from "../base/baseCipher" | |
Implementation of the Affine cipher.
The Affine cipher is a mathematical substitution cipher that uses the formula E(x) = (ax + b) mod 26 for encryption and D(x) = a^(-1)(x - b) mod 26 for decryption, where 'a' and 'b' are the cipher keys and 'a' must be coprime to 26.
Definition in file affine.ts.
| import { BaseCipher } from "../base/baseCipher" |