Class: Sandal::Sig::HS256
Overview
The HMAC-SHA256 signing algorithm.
Instance Attribute Summary
Attributes inherited from HS
Instance Method Summary collapse
-
#initialize(key) ⇒ HS256
constructor
Creates a new instance.
Methods inherited from HS
Constructor Details
#initialize(key) ⇒ HS256
Creates a new instance.
46 47 48 |
# File 'lib/sandal/sig/hs.rb', line 46 def initialize(key) super(256, key) end |