react-native-randomness
v0.0.3
Published
Generate random bytes using native functions.
Downloads
8
Maintainers
Readme
react-native-randomness
Secure generatation of random bytes using native functions in Kotlin and Objective-C.
Example
Check the source code here
Installation
npm install react-native-randomness
# link native dependencies
npx react-native link
Usage
import {random} from "react-native-randomness";
const result = await random(); // [68, 115, 41, 36, 85, 55, 167, 223, 122, 48, 124, 211, 162, 50, 7, 25]
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
Sponsorship
Thank you to our sponsors:
License
Copyright (c) 2021 Eugene Hauptmann