rsa library

RSA signatures and RSA-OAEP encryption, as rind's rsa module: import it as rsa.

Algorithms only legacy protocols should use are in package:rind/rsa_legacy.dart.

Classes

DecryptingKey
An RSA private key that decrypts RSA-OAEP ciphertexts.
EncryptingKey
An RSA public key that encrypts with RSA-OAEP.
KeyPair
An RSA key pair.
OaepAlgorithm
An RSA-OAEP algorithm: its hash, which MGF1 uses too.
PublicKey
An RSA public key, which verifies with any VerificationAlgorithm whose modulus floor it meets.
SigningAlgorithm
An algorithm a KeyPair signs with: a padding and a hash.
VerificationAlgorithm
An algorithm a PublicKey verifies with: a padding, a hash, and the smallest modulus it accepts, 2048 bits for each here and others in package:rind/rsa_legacy.dart. A PSS salt too long for a modulus raises that floor.

Enums

KeySize
The modulus size of a generated RSA key.
RindError
Why a rind call failed, one kind per kind of call, as rind's Error.

Exceptions / Errors

RindException
A failed rind call.