Class: Sandal::Enc::A128CBC_HS256

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

Overview

The AES-128-CBC+HMAC-SHA256 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) ⇒ A128CBC_HS256

Returns a new instance of A128CBC_HS256.



104
105
106
# File 'lib/sandal/enc/acbc_hs.rb', line 104

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