Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eugenehp/react-native-randomness
Secure generatation of random bytes using native functions in Kotlin and Objective-C.
https://github.com/eugenehp/react-native-randomness
crypto kotlin objective-c random react-native secure
Last synced: 3 days ago
JSON representation
Secure generatation of random bytes using native functions in Kotlin and Objective-C.
- Host: GitHub
- URL: https://github.com/eugenehp/react-native-randomness
- Owner: eugenehp
- License: mit
- Created: 2021-04-04T20:06:14.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-04-18T04:44:37.000Z (over 3 years ago)
- Last Synced: 2024-09-14T05:32:02.143Z (2 months ago)
- Topics: crypto, kotlin, objective-c, random, react-native, secure
- Language: Java
- Homepage:
- Size: 940 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# react-native-randomness
[![GitHub license](https://img.shields.io/github/license/eugenehp/react-native-randomness.svg?color=blue&style=for-the-badge)](./LICENSE)
[![npm](https://img.shields.io/npm/v/react-native-randomness.svg?color=green&style=for-the-badge)](https://www.npmjs.com/package/react-native-randomness)
[![npm downloads](https://img.shields.io/npm/dw/react-native-randomness.svg?label=npm%20downloads&style=for-the-badge)](https://npmcharts.com/compare/react-native-randomness?minimal=true)
[![total npm downloads](https://img.shields.io/npm/dt/react-native-randomness.svg?label=total%20npm%20downloads&style=for-the-badge)](https://npmcharts.com/compare/react-native-randomness?minimal=true)
[![GitHub watchers](https://img.shields.io/github/watchers/eugenehp/react-native-randomness.svg?style=for-the-badge)](https://github.com/eugenehp/react-native-randomness/watchers)
[![GitHub stars](https://img.shields.io/github/stars/eugenehp/react-native-randomness.svg?label=GitHub%20stars&style=for-the-badge)](https://github.com/eugenehp/react-native-randomness/stargazers)
[![GitHub forks](https://img.shields.io/github/forks/eugenehp/react-native-randomness.svg?style=for-the-badge)](https://github.com/eugenehp/react-native-randomness/network/members)
[![open bugs](https://img.shields.io/github/issues-raw/eugenehp/react-native-randomness/bug.svg?color=d73a4a&label=open%20bugs&style=for-the-badge)](https://github.com/eugenehp/react-native-randomness/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+label%3Abug)
[![total open issues](https://img.shields.io/github/issues-raw/eugenehp/react-native-randomness.svg?label=total%20open%20issues&style=for-the-badge)](https://github.com/eugenehp/react-native-randomness/issues)
[![GitHub pull requests](https://img.shields.io/github/issues-pr-raw/eugenehp/react-native-randomness.svg?style=for-the-badge)](https://github.com/eugenehp/react-native-randomness/pulls)Secure generatation of random bytes using native functions in Kotlin and Objective-C.
## Example
Example iOS application
Example Android application
Check the source code [here](https://github.com/eugenehp/react-native-randomness/tree/main/example)
## Installation
```sh
npm install react-native-randomness
# link native dependencies
npx react-native link
```## Usage
```js
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](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
## Sponsorship
Thank you to our sponsors:
[](https://www.reactivelions.com)
## License
[MIT](./LICENSE)
Copyright (c) 2021 Eugene Hauptmann