Class: JWE::Enc::A128gcm

Inherits:
Object
  • Object
show all
Includes:
AesGcm
Defined in:
lib/jwe/enc/a128gcm.rb

Instance Attribute Summary

Attributes included from AesGcm

#cek, #iv, #tag

Instance Method Summary collapse

Methods included from AesGcm

#cipher, #decrypt, #encrypt, included, #initialize

Instance Method Details

#cipher_nameObject



12
13
14
# File 'lib/jwe/enc/a128gcm.rb', line 12

def cipher_name
  'aes-128-gcm'
end

#key_lengthObject



8
9
10
# File 'lib/jwe/enc/a128gcm.rb', line 8

def key_length
  16
end