Use OpenSSL::Digest instead of core module to create SHA1
Version 1.0.2