Module: Cryptor

Defined in:
lib/cryptor.rb,
lib/cryptor/version.rb,
lib/cryptor/encoding.rb,
lib/cryptor/encrypted_attribute.rb,
lib/cryptor/symmetric_encryption.rb,
lib/cryptor/symmetric_encryption/cipher.rb,
lib/cryptor/symmetric_encryption/keyring.rb,
lib/cryptor/symmetric_encryption/secret_key.rb,
lib/cryptor/symmetric_encryption/ciphers/xsalsa20poly1305.rb,
lib/cryptor/symmetric_encryption/ciphers/message_encryptor.rb

Overview

An easy-to-use library for real-world Ruby cryptography

Defined Under Namespace

Modules: Encoding, EncryptedAttribute Classes: SymmetricEncryption

Constant Summary collapse

CryptoError =
Class.new(StandardError)
InvalidMessageError =
Class.new(CryptoError)
CorruptedMessageError =
Class.new(CryptoError)
KeyNotFoundError =
Class.new(CryptoError)
AlreadyRotatedError =
Class.new(CryptoError)
VERSION =
'1.1.1'