How to introduce md5 plug-in in vue and encrypt an object with md5

now you need to encrypt an object with md5. Then send this MD5 value to the server

Feb.27,2021

Native steps:
download npm I-S blueimp-md5;
Import: import md5 from 'blueimp-md5'
ordinary encryption: let val=md5 (' value');


recommended encryption library: crypto-js .

github encryption Library: crypto-js

  • How to encrypt with md5 after vue login?

    question 1: isn t md5 encryption irreversible? If I encrypt it, how can the back end decrypt it? How to judge the user name and face it correctly? question 2: do I have to write encryption for every request? This is too troublesome, how to package be...

    Mar.22,2021
Menu