Skip to content

Files

Latest commit

602183f · Jul 23, 2024

History

History

random-source-universal

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 16, 2020
Jan 16, 2020
Oct 15, 2019
Oct 16, 2023
Jan 7, 2019
Jun 20, 2024
Jul 23, 2024
Oct 12, 2023
Oct 12, 2023
Oct 12, 2023

README.md

@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-universal'

const seedData = await randomValues(16);

Test

npm test