Class: JWE::Enc::A192cbcHs384

Inherits:
Object
  • Object
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_nameObject



13
14
15
# File 'lib/jwe/enc/a192cbc_hs384.rb', line 13

def cipher_name
  'AES-192-CBC'
end

#hash_nameObject



17
18
19
# File 'lib/jwe/enc/a192cbc_hs384.rb', line 17

def hash_name
  'sha384'
end

#key_lengthObject



9
10
11
# File 'lib/jwe/enc/a192cbc_hs384.rb', line 9

def key_length
  48
end