class Sandal::Sig::HS256
The HMAC-SHA256 signing algorithm.
Constants
- NAME
The JWA name of the algorithm.
Public Class Methods
new(key)
click to toggle source
Creates a new instance.
@param key [String] The key to use for signing or validation.
Calls superclass method
Sandal::Sig::HS::new
# File lib/sandal/sig/hs.rb, line 52 def initialize(key) super(NAME, 256, key) end