Class: AEAD::Cipher::AES_256_GCM
Overview
Encrypt plaintext using the Galois Counter Mode of AES.
Class Method Summary
collapse
Methods included from AES_GCM
#initialize, #nonce_len
#decrypt, #encrypt, generate_key, generate_nonce, #key_len, new, #nonce_len, signature_compare
Class Method Details
.cipher_mode ⇒ Object
10
|
# File 'lib/aead/cipher/aes_256_gcm.rb', line 10
def self.cipher_mode; 'aes-256-gcm'; end
|
.iv_len ⇒ Object
13
|
# File 'lib/aead/cipher/aes_256_gcm.rb', line 13
def self.iv_len; 12; end
|
.key_len ⇒ Object
12
|
# File 'lib/aead/cipher/aes_256_gcm.rb', line 12
def self.key_len; 32; end
|
.nonce_len ⇒ Object
14
|
# File 'lib/aead/cipher/aes_256_gcm.rb', line 14
def self.nonce_len; 12; end
|
.tag_len ⇒ Object
15
|
# File 'lib/aead/cipher/aes_256_gcm.rb', line 15
def self.tag_len; 16; end
|