simplified the OpenSSL hasher a bit