Sha256: 8dacba8780a0018be4d8fd3ace4642a25539c30469b60ce87dbdbe098ab6b0da

Contents?: true

Size: 592 Bytes

Versions: 1

Compression:

Stored size: 592 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"

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

  # Hide internals from the outside world
  private_constant :Internals
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
miscreant-0.2.0 lib/miscreant.rb