Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
four-random-words.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cleanup
[four-random-words.git]
/
four-words.coffee
diff --git
a/four-words.coffee
b/four-words.coffee
index
433ddbb
..
5124253
100644
(file)
--- a/
four-words.coffee
+++ b/
four-words.coffee
@@
-16,6
+16,5
@@
async.parallel [
password = []
for i in [0..3]
random = rnd[i] << 16 | rnd[i+1] << 8 | rnd[i+2]
- console.log rnd[i], rnd[i+1], rnd[i+2], random
password.push words[random % words.length]
console.log password.join ' '