React本机aes gcm密码
适用于React Native的AES-GCM加密/解密
要求
iOS> = 13.0
Android> = 26
安装
npm install react-native-aes-gcm-crypto
用法
import AesGcmCrypto from 'react-native-aes-gcm-crypto' ;
const key = 'Yzg1MDhmNDYzZjRlMWExOGJkNTk5MmVmNzFkOGQyNzk=' ;\nAesGcmCrypto . decrypt (\n 'LzpSalRKfL47H5rUhqvA' ,
key ,
'131348c0987c7eece60fc0bc' ,
'5baa85ff3e7eda3204744ec74b71d523' ,
false
) . then ( ( decrypted
1