lyubo / react-native-sodium

ISC License
61 stars 46 forks source link

Get FAILURE in crypto_box_easy IOS #50

Closed edenmeshulam closed 2 years ago

edenmeshulam commented 2 years ago

Hi, someone can help me to find out why i get catch error LOG [Error: FAILURE] version 4.0.0

code :

const ciphertext = await sodium .crypto_box_easy(message, nonce, recipientPublicKey, senderPrivateKey) .then(res => { console.log(res); }) .catch(err => { console.log(err); });

tgreco commented 2 years ago

@edenmeshulam how did you end up solving this?