» » decryption

 
Sort articles by: Date | Most Rates | Most Views | Comments | Alphabet

Front-end CryptoJS AES/DES encryption and decryption and back-end PHP AES/DES encryption and decryption

Author: bamboo06 on 15-07-2020, 15:49, views: 7055

0 Today we will focus on front-end encryption. Some projects involve more sensitive data, and developers will require the front end to encrypt the data before transmitting it to the back end for decryption processing. Although https has actually played a great role in protecting data transmission, for users who do not use https, front-end encryption still has a certain significance.
Front-end CryptoJS AES/DES encryption and decryption and back-end PHP AES/DES encryption and decryption

This article involves:
The front end uses CryptoJS to encrypt and decrypt DES or AES data;
The backend uses PHP openssl to decrypt and encrypt the data.

Category: PHP Scripts

 

Use PHP to deal with string encryption and decryption

Author: bamboo06 on 5-11-2014, 01:37, views: 2854

2 Sometimes we need to project a specific PHP information is encrypted, encrypted string that is generated by an encryption algorithm, the encrypted string can be decrypted by the decryption algorithm, to facilitate the decrypted program information is processed.
Use PHP to deal with string encryption and decryption

The most common applications in the user login, and some API data exchange scenarios.
I included some of the more classic PHP code encryption and decryption functions for everyone to share. Cryptographic principles generally through some encryption and decryption algorithms, the key is added to the algorithm, encryption and decryption finally get results.

Category: PHP Scripts