class Sandal::Enc::A128GCM

The A128GCM encryption method.

Constants

KEY_SIZE

 The size of key that is required, in bits.

NAME

The JWA name of the algorithm.

Public Class Methods

new(alg) click to toggle source

Initialises a new instance.

@param alg [#name, encrypt_key, decrypt_key] The algorithm to use to encrypt and/or decrypt the AES key.

Calls superclass method Sandal::Enc::AGCM::new
# File lib/sandal/enc/agcm.rb, line 84
def initialize(alg)
  super(NAME, KEY_SIZE, alg)
end