lib/cryptor.rb in cryptor-0.0.2 vs lib/cryptor.rb in cryptor-1.0.0

- old
+ new

@@ -1,14 +1,14 @@ require 'cryptor/version' -require 'cryptor/cipher' require 'cryptor/encoding' -require 'cryptor/secret_key' require 'cryptor/symmetric_encryption' # Multi-backend high-level encryption library module Cryptor CryptoError = Class.new(StandardError) InvalidMessageError = Class.new(CryptoError) CorruptedMessageError = Class.new(CryptoError) + KeyNotFoundError = Class.new(CryptoError) + AlreadyRotatedError = Class.new(CryptoError) end