Skip to content

Commit

Permalink
fix identifier for emoji
Browse files Browse the repository at this point in the history
  • Loading branch information
atoponce committed Sep 11, 2017
1 parent aad1f44 commit 1c29b55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nodepassgen
Original file line number Diff line number Diff line change
Expand Up @@ -731,8 +731,8 @@ function generate_emoji() {
var len = Math.ceil(entropy/Math.log2(wordlist.length));
var pass = generate_pass(len, wordlist, true);
pass = pass.replace(/ /g,"");
assoc_arr["Generator"] = "Emoji";
assoc_arr["Wordlist"] = null;
assoc_arr["Generator"] = "Random";
assoc_arr["Wordlist"] = "Emoji";
assoc_arr["Password"] = pass;
assoc_arr["Characters"] = len;
assoc_arr["Entropy"] = Math.floor(len * Math.log2(wordlist.length));
Expand Down

0 comments on commit 1c29b55

Please sign in to comment.