0.1.4 • Published 9 years ago

secure-randword v0.1.4

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

secure-randword

Generate random words using a CSPRNG - crypto.getRandom() on nodejs or window.crypto.getRandomValues() on browsers, via secure-random.

Uses a word list of 2048 words from Bitcoin's BIP 39.

Install

$ npm install secure-randword

Use

var randword = require('secure-randword');
console.log(randword()); // one random word
console.log(randword(5)); // 5 random words

License

MIT

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago