Sha256: babbc2d8d6b3bc5e7c72a8ed790db5d7007a8e23aa4848b14c6454607ead5a25

Contents?: true

Size: 498 Bytes

Versions: 1

Compression:

Stored size: 498 Bytes

Contents

# frozen_string_literal: true

require "openssl"
require "securerandom"

require "miscreant/version"

require "miscreant/aes"
require "miscreant/aes/siv"
require "miscreant/aes/cmac"
require "miscreant/util"

# Misuse-resistant symmetric encryption using the AES-SIV (RFC 5297) and CHAIN constructions
module Miscreant
  # Parent of all cryptography-related errors
  CryptoError = Class.new(StandardError)

  # Ciphertext failed to verify as authentic
  IntegrityError = Class.new(CryptoError)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
miscreant-0.0.0 lib/miscreant.rb