Class: JWE::Enc::A128gcm
- Inherits:
-
Object
- Object
- JWE::Enc::A128gcm
- Includes:
- AesGcm
- Defined in:
- lib/jwe/enc/a128gcm.rb
Overview
AES GCM 128 algorithm.
Instance Attribute Summary
Attributes included from AesGcm
Instance Method Summary collapse
Methods included from AesGcm
#cipher, #decrypt, #encrypt, included, #initialize, #setup_cipher
Instance Method Details
#cipher_name ⇒ Object
13 14 15 |
# File 'lib/jwe/enc/a128gcm.rb', line 13 def cipher_name 'aes-128-gcm' end |
#key_length ⇒ Object
9 10 11 |
# File 'lib/jwe/enc/a128gcm.rb', line 9 def key_length 16 end |