use OpenSSL digest