Converted Vignere, added more tests and cleaned stuff up

This commit is contained in:
Matt C 2018-05-09 21:13:09 +01:00
parent 789ec94eff
commit 6bec68021c
7 changed files with 358 additions and 357 deletions

View file

@ -54,7 +54,7 @@ class AffineCipherDecode extends Operation {
}
if (Utils.gcd(a, 26) !== 1) {
return "The value of a must be coprime to 26.";
return "The value of `a` must be coprime to 26.";
}
for (let i = 0; i < input.length; i++) {