Exception: Affine::AffineError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/affine/errors.rb

Overview

Parent class for Affine cipher errors.

This is a good kind of error to rescue when you’re not sure about the key, modulus, plaintext, or ciphertext and want to fail cleanly.

Direct Known Subclasses

CoprimeError, RangeError