Class: JWE::Enc::A192cbcHs384
- Inherits:
-
Object
- Object
- JWE::Enc::A192cbcHs384
show all
- Includes:
- AesCbcHs
- Defined in:
- lib/jwe/enc/a192cbc_hs384.rb
Overview
AES CBC 192 + SHA384 message verification algorithm.
Instance Attribute Summary
Attributes included from AesCbcHs
#cek, #iv, #tag
Instance Method Summary
collapse
Methods included from AesCbcHs
#cipher, #cipher_round, #decrypt, #enc_key, #encrypt, #generate_tag, included, #initialize, #mac_key
Instance Method Details
#cipher_name ⇒ Object
15
16
17
|
# File 'lib/jwe/enc/a192cbc_hs384.rb', line 15
def cipher_name
'AES-192-CBC'
end
|
#hash_name ⇒ Object
19
20
21
|
# File 'lib/jwe/enc/a192cbc_hs384.rb', line 19
def hash_name
'sha384'
end
|
#key_length ⇒ Object
11
12
13
|
# File 'lib/jwe/enc/a192cbc_hs384.rb', line 11
def key_length
48
end
|