{"library":"react-native-securerandom","type":"library","category":null,"description":"The `react-native-securerandom` library provides a robust solution for generating cryptographically-secure random bytes within React Native applications. Currently stable at version `1.0.1`, it utilizes native platform APIs such as `SecRandomCopyBytes` on iOS, `SecureRandom` on Android, and `System.Security.Cryptography.RandomNumberGenerator` on Windows to ensure true cryptographic randomness, differentiating it from JavaScript-only PRNGs. Recent updates, including version `1.0.1`, address compatibility with newer React Native versions (e.g., Gradle 7 support for RN 0.68+) and have seen new maintainers join the project, indicating ongoing but generally slower maintenance focused on compatibility and stability rather than rapid feature additions.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","react-native","SecRandomCopyBytes","PRNG","CSPRNG","SecureRandom","crypto","RandomNumberGenerator","Cryptography","typescript"],"install":[{"cmd":"npm install react-native-securerandom","imports":["import { generateSecureRandom } from 'react-native-securerandom';","import { generateSecureRandom } from 'react-native-securerandom';\n\nawait generateSecureRandom(16);","import { generateSecureRandom, type SecureRandomError } from 'react-native-securerandom';"]},{"cmd":"yarn add react-native-securerandom","imports":[]},{"cmd":"pnpm add react-native-securerandom","imports":[]}],"homepage":null,"github":"https://github.com/robhogan/react-native-securerandom","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-native-securerandom","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/react-native-securerandom/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}