{"library":"react-native-crypto","type":"library","category":null,"description":"This package provides a port of Node.js's `crypto` module for React Native environments. It is a direct clone of `crypto-browserify` but replaces `randombytes` with a React Native-compatible implementation. The package is currently at version 2.2.1 and has been explicitly *deprecated* by its maintainers. The recommended alternative is to use `react-native-get-random-values` for secure random byte generation in conjunction with `crypto-browserify` directly. `react-native-crypto`'s primary function was to enable common cryptographic operations such as hashing (SHA, MD5), HMACs, PBKDF2 key derivation, and symmetric encryption/decryption (AES) within React Native applications, which inherently lack Node.js core modules. Its integration required a complex setup involving `rn-nodeify` to shim necessary Node.js modules and an explicit `shim.js` import at the application's entry point to function correctly, making its setup prone to errors. Its release cadence was slow, and maintenance has effectively ceased due to the deprecation notice.","language":"javascript","status":"deprecated","version":"2.2.1","tags":["javascript","react-native","react-component","ios"],"install":[{"cmd":"npm install react-native-crypto","imports":["import crypto from 'crypto'","import { createHash } from 'crypto'","import './shim.js'"]},{"cmd":"yarn add react-native-crypto","imports":[]},{"cmd":"pnpm add react-native-crypto","imports":[]}],"homepage":null,"github":"https://github.com/tradle/react-native-crypto","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-native-crypto","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-crypto/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}