Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any react-native library for AES 128 encryption with Initial vector?

Tags:

I'm looking for any react native library that can be used for the AES 128 encryption. Something like:

crypto.createCipheriv(algorithm, key, iv[, options]) in Node

I've only found react-native-aes but that's for 256 encryption, not 128

Thank you!

like image 212
LuisPinto Avatar asked May 31 '18 16:05

LuisPinto


1 Answers

I found this library: https://github.com/ricmoo/aes-js

It's 100% javascript so It's compatible with react-native aswell.

This library has many encryptions options so I hope it can be helpful for someone else in the future ;)

like image 105
LuisPinto Avatar answered Sep 28 '22 17:09

LuisPinto