Sha256: 03ab26e9f88caaaa36d701b683798f37d1b3687694eb6765234083cac15aef60

Contents?: true

Size: 693 Bytes

Versions: 1

Compression:

Stored size: 693 Bytes

Contents

# encoding: binary
# frozen_string_literal: true

require "openssl"
require "securerandom"

require "miscreant/version"

require "miscreant/aead"
require "miscreant/aes/cmac"
require "miscreant/aes/pmac"
require "miscreant/aes/siv"
require "miscreant/internals"
require "miscreant/stream"

# 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)

  # Integer value overflowed
  OverflowError = Class.new(StandardError)

  # Hide internals from the outside world
  private_constant :Internals
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
miscreant-0.3.0 lib/miscreant.rb