Module: Xaes256Gcm

Defined in:
lib/xaes_256_gcm/errors.rb,
lib/xaes_256_gcm/version.rb,
lib/xaes_256_gcm/xaes_256_gcm_cipher.rb

Overview

The module containing XAES-256-GCM.

Defined Under Namespace

Classes: Xaes256GcmCipher

Constant Summary collapse

Error =

A base error that all Xaes256Gcm errors derive from.

Class.new(StandardError)
InvalidKeyError =

Indicates that the provided key is invalid because it is nil or the incorrect length.

Class.new(Error)
InvalidNonceError =

Indicates that the provided nonce is invalid because it is nil or the incorrect length.

Class.new(Error)
InvalidCiphertextError =

Indicates that the provided ciphertext is invalid because the authentication tag failed to verify.

This may indicate that one of the inputs to open was invalid, or the ciphertext has been modified.

Class.new(Error)
VERSION =

The current version of the gem.

"0.5"