Sha256: 562cb64c19338ff25def25db1a95ea60d09748474f501f6a420b46ffcb077aae
Contents?: true
Size: 217 Bytes
Versions: 19
Compression:
Stored size: 217 Bytes
Contents
GStore::Client.class_eval do def sign(str) digest = OpenSSL::Digest.new('sha1') # use undeprecated constant b64_hmac = Base64.encode64(OpenSSL::HMAC.digest(digest, @secret_key, str)).gsub("\n","") end end
Version data entries
19 entries across 19 versions & 1 rubygems