2.1.1 • Published 4 years ago

u2fzero-rng v2.1.1

Weekly downloads
-
License
LGPL-3.0
Repository
gitlab
Last release
4 years ago

u2fzero-rng

simple cli tool for getting a stream of random bytes from a u2f zero

install

npm install -g u2fzero-rng

usage

continuous stream of random bytes

u2frng

specify number of bytes to write out

u2frng --limit 32b

more information

$ u2frng --help

  Usage: u2frng [options]

  use the hardware random number generator on the u2fzero

  Options:

    -V, --version         output the version number
    -s, --limit <Nbytes>  byte stream size limit (Nb, Nkb, Nmb...)
    -h, --help            output usage information

as a module

const rng = require('u2fzero-rng');
const stream = rng(/* Nbytes */); // readable

stream.pipe(process.stdout);

license

lgpl-3.0

2.1.1

4 years ago

2.1.0

6 years ago

2.0.0

6 years ago

1.0.0

6 years ago