The following script is provided from the shell script
Encryption command:
echo "xxxxxxxxxxxxxxxxxxxxxxxx" | openssl enc -aes-256-cbc -salt -k BCF2AEC59BD97C9D54D56FAAC1C48494 -base64
Decrypt command:
echo "xxxxxxxxxxxxxxxxxxxxxxx" | openssl enc -aes-256-cbc -salt -k BCF2AEC59BD97C9D54D56FAAC1C48494 -base64 -d
I know that PHP has provided the OpenSSL module, but I do not understand this module, I have no understanding of the friend, the above code is rewritten into PHP. Thank you so much.
Reply content:
The following script is provided from the shell script
Encryption command:
echo "xxxxxxxxxxxxxxxxxxxxxxxx" | openssl enc -aes-256-cbc -salt -k BCF2AEC59BD97C9D54D56FAAC1C48494 -base64
Decrypt command:
echo "xxxxxxxxxxxxxxxxxxxxxxx" | openssl enc -aes-256-cbc -salt -k BCF2AEC59BD97C9D54D56FAAC1C48494 -base64 -d
I know that PHP has provided the OpenSSL module, but I do not understand this module, I have no understanding of the friend, the above code is rewritten into PHP. Thank you so much.