Package Exports
- @walletconnect/randombytes
- @walletconnect/randombytes/dist/cjs/node/index.js
- @walletconnect/randombytes/dist/esm/browser/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@walletconnect/randombytes) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
iso-random 
Isomorphic Library for Random Bytes
Description
This library supports random byte generation through native NodeJS and Browser APIs when available and fallbacks to vanilla javascript are already provided.
Usage
RandomBytes
import * as isoRandom from 'iso-random';
const length = 32;
const key = isoRandom.randomBytes(length);
// key.length === lengthReact-Native Support
This library is intended for use in a Browser or NodeJS environment, however it is possible to use in a React-Native environment if NodeJS modules are polyfilled with react-native-crypto, read more here.