added enc/dec routines using OpenSSL's EVP API