Skip to content
Snippets Groups Projects
Commit b1dab411 authored by mnj98's avatar mnj98
Browse files

Update keyFinder

parent 9e90b312
Branches landing-page
No related tags found
No related merge requests found
......@@ -123,6 +123,10 @@ let f4 = getFrequency(s4);
let f5 = getFrequency(s5);
let f6 = getFrequency(s6);
//output is CRYPTO
console.log(letterFromNum(findKey(f1, probabilies)))
console.log(letterFromNum(findKey(f2, probabilies)))
console.log(letterFromNum(findKey(f3, probabilies)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment