We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"react": "~18.0.0", "react-native": "~0.70.6",
import crypto from 'react-native-crypto'; import Buffer from 'buffer' export function EncryptTheKeyWithRSA() { const publicKey = "MIIBIjANBgkqhkiG9w0BAnhtgAmhKl3E" const aesKey = crypto.randomBytes(256).toString('hex')); const { Buffer: { from } } = Buffer const encryptedAesKey = crypto.publicEncrypt(publicKey, from(aesKey) ); }
Getting TypeError: Cannot convert null value to an object,
Any help would be appreciated
The text was updated successfully, but these errors were encountered:
No branches or pull requests
"react": "~18.0.0",
"react-native": "~0.70.6",
Getting TypeError: Cannot convert null value to an object,
Any help would be appreciated
The text was updated successfully, but these errors were encountered: