mirror of
https://github.com/gchq/CyberChef.git
synced 2024-11-02 22:21:01 +01:00
ESM: whitespace tidying
This commit is contained in:
parent
cbb5e7c611
commit
61832a9e2a
@ -45,8 +45,7 @@ class AffineCipherDecode extends Operation {
|
|||||||
*/
|
*/
|
||||||
run(input, args) {
|
run(input, args) {
|
||||||
const alphabet = "abcdefghijklmnopqrstuvwxyz",
|
const alphabet = "abcdefghijklmnopqrstuvwxyz",
|
||||||
a = args[0],
|
[a, b] = args,
|
||||||
b = args[1],
|
|
||||||
aModInv = Utils.modInv(a, 26); // Calculates modular inverse of a
|
aModInv = Utils.modInv(a, 26); // Calculates modular inverse of a
|
||||||
let output = "";
|
let output = "";
|
||||||
|
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
import Operation from "../Operation";
|
import Operation from "../Operation";
|
||||||
import { affineEncode } from "../lib/Ciphers";
|
import { affineEncode } from "../lib/Ciphers";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Affine Cipher Encode operation
|
* Affine Cipher Encode operation
|
||||||
*/
|
*/
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
import Operation from "../Operation";
|
import Operation from "../Operation";
|
||||||
import { genPolybiusSquare } from "../lib/Ciphers";
|
import { genPolybiusSquare } from "../lib/Ciphers";
|
||||||
import OperationError from "../errors/OperationError";
|
import OperationError from "../errors/OperationError";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bifid Cipher Decode operation
|
* Bifid Cipher Decode operation
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user