Sha256: 0a80861876a7b778bde59bf273942182c80895daeb45edd3f35ba86eba7524e8
Contents?: true
Size: 364 Bytes
Versions: 1
Compression:
Stored size: 364 Bytes
Contents
require 'aead/cipher' require 'aead/cipher/aes_gcm' # # Encrypt plaintext using the Galois Counter Mode of AES. # class AEAD::Cipher::AES_256_GCM < AEAD::Cipher include AEAD::Cipher::AES_GCM def self.cipher_mode; 'aes-256-gcm'; end def self.key_len; 32; end def self.iv_len; 12; end def self.nonce_len; 12; end def self.tag_len; 16; end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aead-1.8.1 | lib/aead/cipher/aes_256_gcm.rb |