Class: JWE::Enc::A256gcm
- Inherits:
-
Object
- Object
- JWE::Enc::A256gcm
- Includes:
- AesGcm
- Defined in:
- lib/jwe/enc/a256gcm.rb
Overview
AES GCM 256 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/a256gcm.rb', line 13 def cipher_name 'aes-256-gcm' end |
#key_length ⇒ Object
9 10 11 |
# File 'lib/jwe/enc/a256gcm.rb', line 9 def key_length 32 end |