This is a demo project for recording the implementation of Encryption in C/C++.
Require : openssl1.1.1
Generating digest of message using Openssl EVP.
The program receives arguments to determine which hash methods to use.
usage:
./evpdigest md5
./evpdigest sha256
Encrypt files using Openssl EVP.
Baesd on the work by Amit Kulkarni
interface:
void file_encrypt_decrypt(cipher_params_t *params, FILE *ifp, FILE *ofp)
Encrypt files using Openssl EVP.
Baesd on the example of www.openssl.org
Encrypt string without Openssl EVP.