a-nonce-generator

[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) [![Travis](https://img.shields.io/travis/adorsys/npm-nonce-generator.svg?style=flat-square)](https://travis-ci.

Usage no npm install needed!

<script type="module">
  import aNonceGenerator from 'https://cdn.skypack.dev/a-nonce-generator';
</script>

README

a-nonce-generator

styled with prettier Travis Coverage Status npm npm license

A generator for creating nonces. It uses the package 'seedrandom' for better randomness.

Homepage

https://adorsys.github.io/npm-nonce-generator/

Installation

npm install a-nonce-generator

Usage

import NonceGenerator from 'a-nonce-generator';
const ng = new NonceGenerator()
const nonce = tg.generate();

Tests

Install dev dependencies with npm install, then run npm test.