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

5.2.0 • Public • Published

@aws-crypto/random-source-universal

Access to a secure random source in either a browser or NodeJs. See @aws-crypto/random-source-browser and @aws-crypto/random-source-node

Usage

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

const seedData = await randomValues(16);

Test

npm test

/@aws-crypto/random-source-universal/

    Package Sidebar

    Install

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

    Weekly Downloads

    5

    Version

    5.2.0

    License

    Apache-2.0

    Unpacked Size

    22.2 kB

    Total Files

    13

    Last publish

    Collaborators

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