Method: Hawk::Crypto::TSMac#initialize
- Defined in:
- lib/hawk/crypto.rb
#initialize(key, ts, algorithm = 'sha256') ⇒ TSMac
Returns a new instance of TSMac.
| 129 130 131 | # File 'lib/hawk/crypto.rb', line 129 def initialize(key, ts, algorithm = 'sha256') @key, @ts, @algorithm = key, ts, algorithm end |