RSA class
Wraps the RSA Engine Algorithm.
- Inheritance
-
- Object
- AbstractRSA
- RSA
- Implemented types
Constructors
- RSA({RSAPublicKey? publicKey, RSAPrivateKey? privateKey, RSAEncoding encoding = RSAEncoding.PKCS1, RSADigest digest = RSADigest.SHA1})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- privateKey → RSAPrivateKey?
-
finalinherited
- publicKey → RSAPublicKey?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decrypt(
Encrypted encrypted, {IV? iv, Uint8List? associatedData}) → Uint8List -
Decrypt
encrypted
value.override -
encrypt(
Uint8List bytes, {IV? iv, Uint8List? associatedData}) → Encrypted -
Encrypt
bytes
.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited