We would like to convert our use of mcrypt to openssl.
Here is our encryption function:
mcrypt_ecb(MCRYPT_3DES,$key,$payload,MCRYPT_ENCRYPT)
Here is our decryption function:
mcrypt_ecb(MCRYPT_3DES,$key,$payload,MCRYPT_DECRYPT)
What are the openssl_* equivalents of the above?
Thanks.