Class: Sandal::Sig::HS256
Overview
The HMAC-SHA256 signing algorithm.
Constant Summary collapse
- NAME =
The JWA name of the algorithm.
"HS256"
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.
52 53 54 |
# File 'lib/sandal/sig/hs.rb', line 52 def initialize(key) super(NAME, 256, key) end |