react-native-rsa-native
react-native-rsa-native copied to clipboard
A native implementation of RSA key generation and encryption/decryption.
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.21 to 0.7.31. Commits 97f3368 Bump version 0.7.31 b86860e Merge pull request #546 from hansott/master 157af1e Merge pull request #547 from sunny-mwx/patch-1 b4cfe1b Merge pull request #535...
I have a form that I'm encrypting with `react-native-rsa-native`: ```js const form = { value: 1, value2: 2 }; const encryptedBody = await RSA.encrypt(JSON.stringify(body), FORM_PUBLIC_KEY); const body = { encryptedBody...
I made a small program that will crash in ios instantly: ``` import React, { Component } from 'react'; import { View, Text } from 'react-native'; import { RSA }...
Bumps [react-native](https://github.com/facebook/react-native) from 0.62.2 to 0.62.3. Release notes Sourced from react-native's releases. v0.62.3 This patch release is specifically targetted towards Xcode 12.5. The changes done are tailored to unblock developers...
This code can take between 5 and 7 seconds to run on ios 15. Why is that? Is there anyway to speed this up? ``` const keys = await Promise.all([RSA.generateKeys(4096),...
PKCS1 padding is vulnerable to Bleichenbacher padding oracle attack. Both iOS and Android support PKCS1 OAEP with Sha1, which is the preferred padding in OpenSSL and the default padding in...
const {signature, mensaje} = await createSignature(); console.log('PUBLIC KEY'); console.log(publickey); console.log('SIGNATURE'); console.log(signature); console.log(mensaje); const helpme = await RSA.verify64WithAlgorithm( signature, mensaje, publickey, RSA.SHA256withRSA, ) .then((resultado) => console.log('RESULTADO' + resultado)) .catch((err) => console.log(err));...
When verifying using either `RSA` or `RSAKeychain` on iOS any totally bogus message will pass as `true`. Completely unreliable.  ```javascript export const VerifyKeyChain = async (messageSignature, message) => {...
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Possible Unhandled Promise Rejection (id: 0): TypeError: null is not an object (evaluating '_reactNativeRsaNative.RSA.verify') I'm trying to verify with publicKey if a signature signed with privateKey is trusted. The signature...