How to Encrypt data in React native (Using Expo)

后端 未结 4 1442
梦如初夏
梦如初夏 2021-01-22 19:53

I\'m trying to simply encrypt a message using a given key and iV. I\'ve tried several libraries to achieve this but Expo isn\'t compatible with any of them. I couldn\'t find any

4条回答
  •  孤城傲影
    2021-01-22 20:42

    I decided to use jshashes for my React-native & Expo project. The goal of this module is to reimplement hash node's crypto functions in pure javascript without dependency on node:

    yarn add jshashes
    

提交回复
热议问题