class

Beryl::Crypto::MessageTooLongForModulus

Inherits Beryl::Crypto::Error < Beryl::Error < Exception < Reference < Object

Raised when a message is longer than an RSA key can encrypt with OAEP: the modulus size less twice the hash size less 2 bytes (RFC 8017 ยง7.1.1).