The following script is an encryption command provided by the shell script: {code ...} decryption command: {code ...} I know that PHP provides the openssl module, but I don't know about this module. do you have any friends who know about it and rewrite the above code into PHP. Thank you very much. The following script is provided by the shell script.
Encryption command:
Echo "xxxxxxxxxxxxxxxxxxxxxx" | openssl enc-aes-256-cbc-salt-k BCF2AEC59BD97C9D54D56FAAC1C48494-base64
Decryption command:
Echo "xxxxxxxxxxxxxxxxxxxxx" | openssl enc-aes-256-cbc-salt-k BCF2AEC59BD97C9D54D56FAAC1C48494-base64-d
I know that PHP provides the openssl module, but I don't know about this module. do you have any friends who know about it and rewrite the above code into PHP. Thank you very much.
Reply content:
The following script is provided by the shell script.
Encryption command:
Echo "xxxxxxxxxxxxxxxxxxxxxx" | openssl enc-aes-256-cbc-salt-k BCF2AEC59BD97C9D54D56FAAC1C48494-base64
Decryption command:
Echo "xxxxxxxxxxxxxxxxxxxxx" | openssl enc-aes-256-cbc-salt-k BCF2AEC59BD97C9D54D56FAAC1C48494-base64-d
I know that PHP provides the openssl module, but I don't know about this module. do you have any friends who know about it and rewrite the above code into PHP. Thank you very much.