Class: Sandal::Enc::A256CBC_HS512

Inherits:
ACBC_HS
  • Object
show all
Defined in:
lib/sandal/enc/acbc_hs.rb

Overview

The AES-256-CBC+HMAC-SHA512 encryption algorithm.

Instance Attribute Summary

Attributes inherited from ACBC_HS

#alg, #name

Instance Method Summary collapse

Methods inherited from ACBC_HS

#decrypt, #encrypt

Constructor Details

#initialize(key) ⇒ A256CBC_HS512

Returns a new instance of A256CBC_HS512.



101
102
103
# File 'lib/sandal/enc/acbc_hs.rb', line 101

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