Class: JWE::Enc::A128gcm

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

Overview

AES GCM 128 algorithm.

Instance Attribute Summary

Attributes included from AesGcm

#cek, #iv, #tag

Instance Method Summary collapse

Methods included from AesGcm

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

Instance Method Details

#cipher_nameObject



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

def cipher_name
  'aes-128-gcm'
end

#key_lengthObject



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

def key_length
  16
end