ESM: whitespace tidying

This commit is contained in:
n1474335 2018-05-14 18:07:17 +00:00
parent cbb5e7c611
commit 61832a9e2a
3 changed files with 3 additions and 2 deletions

View File

@ -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 = "";

View File

@ -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
*/ */

View File

@ -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
*/ */