Showing 1-20 of 36,066 packages
A cryptographically strong random number generator. Designed to be a drop-in replacement for Math.random. Can be used with Node or in a browser.
Generate a cryptographically strong random string
Universal Module for Secure Random Generator in JavaScript
Generate a cryptographically-random BigInt with the given number of bits of entropy.
Generate a cryptographically-random probable prime number that passes the Miller-Rabin test with the given number of bits of entropy.
Generate a cryptographically-random Uint8Array with the given number of bytes of entropy.
Pick a cryptographically-random integer within a range.
a good looking crypto random string to use for things like API keys
Get a, cryptographically strong, string of random hexadecimal characters.
Access to a secure random source in a browser. `Math.random` is not acceptable for cryptographic operations. This module exports a consistent interface for modern browsers.
Provides functions for detecting if the host environment supports the WebCrypto API
Generate a cryptographically strong random string
Access to a secure random source in either a browser or NodeJs. See @aws-crypto/random-source-browser and @aws-crypto/random-source-node
Provides functions and types for detecting if the host environment is IE11
URL and cookie safe UIDs
random bytes from browserify stand alone
JavaScript library of crypto standards.
A very basic crypto library
`window.crypto.getRandomValues` with fallback to Node.js crypto
[](https://www.npmjs.com/package/@ton/crypto)