Class: Sandal::Sig::HS384

Inherits:
HS
  • Object
show all
Defined in:
lib/sandal/sig/hs.rb

Overview

The HMAC-SHA384 signing algorithm.

Instance Attribute Summary

Attributes inherited from HS

#name

Instance Method Summary collapse

Methods inherited from HS

#sign, #valid?

Constructor Details

#initialize(key) ⇒ HS384

Creates a new instance.

Parameters:

  • key (String)

    The key to use for signing or validation.



56
57
58
# File 'lib/sandal/sig/hs.rb', line 56

def initialize(key)
  super(384, key)
end