Error Set NullExponentError [src]

Exponentiation with a null exponent. Exponentiation in cryptographic protocols is almost always a sign of a bug which can lead to trivial attacks. Therefore, this module returns an error when a null exponent is encountered, encouraging applications to handle this case explicitly.

Errors

NullExponent

Source

pub const NullExponentError = error{NullExponent}