Module: Duse::Encryption::CryptographicHash
- Extended by:
- CryptographicHash, Digest, Encoding
- Included in:
- CryptographicHash
- Defined in:
- lib/duse/encryption.rb
Instance Method Summary collapse
Methods included from Encoding
Methods included from Digest
Instance Method Details
#hmac(key, data) ⇒ Object
91 92 93 |
# File 'lib/duse/encryption.rb', line 91 def hmac(key, data) encode(OpenSSL::HMAC.digest(digest, key, data)) end |