ASymmetricEncryptionAlgorithm class abstract

Interface for asymmetric encryption algorithms. Check DefaultEncryptionAlgo for sample implementation.

Inheritance
Implementers

Properties

atPrivateKey AtPrivateKey?
getter/setter pair
atPublicKey AtPublicKey?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decrypt(Uint8List encryptedData) Uint8List
Decrypt encryptedData with atPrivateKey.privateKey
override
encrypt(Uint8List plainData) Uint8List
Encrypt plainData with atPublicKey.publicKey
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