Sha256: c1780f070a8dc20d11074bc80b63647694e3eda05b438d798a49e618678bd536

Contents?: true

Size: 365 Bytes

Versions: 1

Compression:

Stored size: 365 Bytes

Contents

require 'aead/cipher'
require 'aead/cipher/aes_gcm'

#
# Encrypt plaintext using the Galois Counter Mode of AES.
#
class AEAD::Cipher::AES_128_GCM < AEAD::Cipher
  include AEAD::Cipher::AES_GCM

  def self.cipher_mode; 'aes-128-gcm'; end

  def self.key_len;   16; 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_128_gcm.rb