Class: Sandal::Enc::A256CBC_HS512
- Defined in:
- lib/sandal/enc/acbc_hs.rb
Overview
The A256CBC-HS512 encryption method.
Constant Summary collapse
- NAME =
The JWA name of the algorithm.
"A256CBC-HS512"
- KEY_SIZE =
The size of key that is required, in bits.
512
Instance Attribute Summary
Attributes inherited from ACBC_HS
Instance Method Summary collapse
-
#initialize(alg) ⇒ A256CBC_HS512
constructor
Initialises a new instance.
Methods inherited from ACBC_HS
Constructor Details
#initialize(alg) ⇒ A256CBC_HS512
Initialises a new instance.
141 142 143 |
# File 'lib/sandal/enc/acbc_hs.rb', line 141 def initialize(alg) super(NAME, KEY_SIZE / 2, KEY_SIZE, alg) end |