# frozen_string_literal: true require "openssl" require "securerandom" require "miscreant/version" require "miscreant/internals" # Miscreant: A misuse-resistant symmetric encryption library module Miscreant # Parent of all cryptography-related errors CryptoError = Class.new(StandardError) # Ciphertext failed to verify as authentic IntegrityError = Class.new(CryptoError) end