@aws-crypto/random-source-node
TypeScript icon, indicating that this package has built-in type declarations

5.2.0 • Public • Published

@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

/@aws-crypto/random-source-node/

    Package Sidebar

    Install

    npm i @aws-crypto/random-source-node

    Weekly Downloads

    59

    Version

    5.2.0

    License

    Apache-2.0

    Unpacked Size

    21 kB

    Total Files

    13

    Last publish

    Collaborators

    • amzn-oss
    • seebees
    • agray256
    • lavaleri
    • salkeldr
    • aws-crypto-tools-ci-bot
    • mattsb42-aws
    • farleyb-aws