Asymmetric class abstract
- Implementers
Constructors
- Asymmetric({required Digest digest, RSAPublicKey? publicKey, RSAPrivateKey? privateKey})
Properties
- digest ↔ Digest
-
摘要算法
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- privateKey ↔ RSAPrivateKey?
-
私钥
getter/setter pair
- publicKey ↔ RSAPublicKey?
-
公钥
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decrypt(
{bool isPublicKey = false, required Uint8List data}) → Uint8List - 解密
-
encrypt(
{bool isPublicKey = true, required Uint8List data}) → Uint8List - 加密
-
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