react-native-randomness
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

react-native-randomness

GitHub license npm npm downloads total npm downloads GitHub watchers GitHub stars GitHub forks open bugs total open issues GitHub pull requests

Secure generatation of random bytes using native functions in Kotlin and Objective-C.

Example

Example iOS application Example Android application
Screen Shot 2021-04-04 at 13 17 43 Screen Shot 2021-04-04 at 13 04 14

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:

Reactive Lions™

License

MIT

Copyright (c) 2021 Eugene Hauptmann

Package Sidebar

Install

npm i react-native-randomness

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

95 kB

Total Files

23

Last publish

Collaborators

  • eugenehp