randombytes-stream
v1.0.1
Published
A crypto.randomBytes as infinity Readable Stream
Downloads
3
Readme
randombytes-stream
A crypto.randomBytes as infinity Readable Stream.
For example /dev/random
generator can be implemented as:
#!/usr/bin/env node
const RandomBytesStream = require('randombytes-stream')
RandomBytesStream()
.on('data', (data) => process.stdout.write(data.toString()))
LICENSE
MIT