@aws-crypto/random-source-node

A Node.JS implementation of the AWS SDK for JavaScript's `randomValues` interface

Usage no npm install needed!

<script type="module">
  import awsCryptoRandomSourceNode from 'https://cdn.skypack.dev/@aws-crypto/random-source-node';
</script>

README

@aws-crypto/random-source-node

Access to a secure random source in NodeJs. This package exists provide a consistent interface with @aws-crypto/random-source-browser. Especially for @aws-crypto/random-source-universal

Usage

import {randomValues} from '@aws-crypto/random-source-node'

const seedData = await randomValues(16);

Test

npm test