Sha256: 70aad188b398007e1671555c2e7e72754bbf21d8ad0a4db5687d5cee90cb4a1e
Contents?: true
Size: 250 Bytes
Versions: 3
Compression:
Stored size: 250 Bytes
Contents
module ActionHook module Security module Fingerprinting def fingerprint if secret && serialized_body OpenSSL::HMAC.hexdigest(OpenSSL::Digest::SHA256.new, secret, serialized_body) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
actionhook-1.0.2 | lib/actionhook/security/fingerprinting.rb |
actionhook-1.0.1 | lib/actionhook/security/fingerprinting.rb |
actionhook-1.0.0 | lib/actionhook/security/fingerprinting.rb |