class

Beryl::Crypto::KeySizeMismatch

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

Raised when a key is a different size than its cipher takes, for example anything but 32 bytes for ChaCha20-Poly1305.