Use thread-safe OpenSSL::Digest instead of Digest