QuickNativeCrypto class

Constructors

QuickNativeCrypto.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

aesDecrypt({required Uint8List ciphertext, required Uint8List key, required Uint8List nonce, required Uint8List mac}) Future<Uint8List>
Decrypts ciphertext with AES-GCM based on key, nonce and mac.
aesEncrypt({required Uint8List plaintext, required Uint8List key, required Uint8List nonce}) Future<SealedBox>
Encrypts plaintext using AES-GCM based on key and nonce.
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