Legend:
Library
Module
Module type
Parameter
Class
Class type
RSA public-key cryptography.
Keys are taken to be trusted material, and their properties are not checked.
Messages are checked not to exceed the key size, and this is signalled via exceptions.
Private-key operations are optionally protected through RSA blinding.
RSA public-key encryption
exceptionInsufficient_key
Raised if the key is too small to transform the given message, i.e. if the numerical interpretation of the (potentially padded) message is not smaller than the modulus.
It is additionally raised if the message is 0 and the mode does not involve padding.