Class: Signer
- Inherits:
-
Object
- Object
- Signer
- Defined in:
- lib/signer.rb
Class Method Summary collapse
Class Method Details
.sign_hash(hash, key) ⇒ Object
4 5 6 |
# File 'lib/signer.rb', line 4 def self.sign_hash(hash, key) Digest::MD5.hexdigest("#{hash.values.sort.join}#{key}") end |