Skip to content

Instantly share code, notes, and snippets.

@jezinka

jezinka/main.js Secret

Created June 16, 2017 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jezinka/8cac4c29b3a82f36d36e3aa3a76baef5 to your computer and use it in GitHub Desktop.
Save jezinka/8cac4c29b3a82f36d36e3aa3a76baef5 to your computer and use it in GitHub Desktop.
var x = encrypted[i].split("");
var a = x.byCount(); // tu uporządkowane wg częstotliwości ["p", "e", "y", "a", "c", "l", "m", "n", "z", "f", "t", "u", "w", "x", "j", "o"]
var b = a.slice(0, 5);
var c = b.join('');
finall.push(c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment