About the problem of MD5 encryption, the use of crypto-js?

vue does the front and rear separation project. I would like to ask you how to use crypto-js. There are too few documents on GitHub.
apart from the specific usage of the front end, what are the specific things that need to be encrypted?
after the backend gets the data, do you still want to decrypt it? If it is decrypted, isn"t it clear again (will the back end be encrypted and saved to the database)?

Mar.12,2021

Crypto-JS is a library of various encryption methods, which can be used quickly by API.
what needs to be encrypted is generally a variety of authentication. If you take Vue as an example, it is common to write global encryption authentication in the secondary encapsulated Axios.
other things that need to be encrypted are options that transport content is controllable and require security, but this is rare.
take MD5 encryption as an example. MD5 encryption is irreversible and the result of the same string encryption is unique. So generally, when transmitting in the foreground, the password is spelled with a specific character, and then the transmission is encrypted, the server encrypts it in the same way, and then the encrypted string is compared.
the password saved by the server is encrypted and ensures that the maintenance staff is not visible.


crypto-js is just a library. It depends on what you want to encrypt. For example, asymmetric encryption such as rsa is used, but this crypto-js is not currently supported.
can try to write by yourself, and then find an online tool site to compare the results. This md5 encryption check is written with crypto-js .

  • The problem of using md5 encryption in vue

    this problem has arisen recently that I use js-md5 to encrypt url and always mismatch the backend java and then report it wrong for a long time. I don t know why it is because there is Chinese in the request parameters, but the strange thing is that I...

    Jul.12,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be99a9-469d2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be99a9-469d2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?