AES
前端crypto-js
1 | import CryptoJS from 'crypto-js'; |
使用
1 | PTUtil.decrypt(phoneNumber), |
后端Cipher
1 |
|
使用
1 | EncryptUtil.decryptBase64(user.getPhoneNumber())); |
Keep It Simple Stupid
1 | import CryptoJS from 'crypto-js'; |
1 | PTUtil.decrypt(phoneNumber), |
1 |
|
1 | EncryptUtil.decryptBase64(user.getPhoneNumber())); |