Class: Sandal::Sig::HS512

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

Overview

The HMAC-SHA512 signing algorithm.

Instance Attribute Summary

Attributes inherited from HS

#name

Instance Method Summary collapse

Methods inherited from HS

#sign, #valid?

Constructor Details

#initialize(key) ⇒ HS512

Creates a new instance.

Parameters:

  • key (String)

    The key to use for signing or validation.



66
67
68
# File 'lib/sandal/sig/hs.rb', line 66

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