Login
Discover
Waves
Communities
Write
Login
Signup
Topics
#
crypto-js
Explore topics
#crypto-js
Global
Trending
Hot
New
Payout
Muted
Promoted
#crypto-js
New
#crypto-js
Follow to get notified about new posts with this tag
Get #crypto-js by email
Follow
lemooljiang
HIVE CN 中文社区
6y
crypto-js, 一种简洁的加解密方案 / 网络研习社#68
在做前端时对一些资料进行加密存储,读出时再解密。 找了些方法,JS本身倒也有些原生的方法,比如:escape(),unescape()和base64加密,不过它们是编码转换,起不到加密作用。后来就找到了crypto-js这个加密包,感觉才找到了正路。 import sha256 from 'crypto-js/sha256'; import hmacSHA512 from
$ 20.074
120
Discover communities
Explore communities
Create your community