RustLibApi class abstract

Implementers

Constructors

RustLibApi.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

crateApiCompress({required List<int> data, required int zstdCompressionLevel}) Future<Uint8List>
crateApiDecompress({required List<int> data}) Future<Uint8List>
crateApiRustyChaCha20Poly1305CreateInternal({Uint8List? key, Compression? compression}) Future<RustyChaCha20Poly1305>
crateApiRustyChaCha20Poly1305Decrypt({required RustyChaCha20Poly1305 that, required List<int> ciphertext, Uint8List? aad}) Future<Uint8List>
crateApiRustyChaCha20Poly1305DecryptFromFile({required RustyChaCha20Poly1305 that, required String filePath, Uint8List? aad, BigInt? offset}) Future<Uint8List>
crateApiRustyChaCha20Poly1305Encrypt({required RustyChaCha20Poly1305 that, required List<int> cleartext, Uint8List? nonce, Uint8List? aad}) Future<Uint8List>
crateApiRustyChaCha20Poly1305EncryptToFile({required RustyChaCha20Poly1305 that, required List<int> cleartext, required String filePath, Uint8List? nonce, Uint8List? aad, bool? append}) Future<void>
crateApiRustyChaCha20Poly1305GenerateKey() Future<Uint8List>
crateApiRustyChaCha20Poly1305GenerateNonce() Future<Uint8List>
crateApiRustyXChaCha20Poly1305CreateInternal({Uint8List? key, Compression? compression}) Future<RustyXChaCha20Poly1305>
crateApiRustyXChaCha20Poly1305Decrypt({required RustyXChaCha20Poly1305 that, required List<int> ciphertext, Uint8List? aad}) Future<Uint8List>
crateApiRustyXChaCha20Poly1305DecryptFromFile({required RustyXChaCha20Poly1305 that, required String filePath, Uint8List? aad, BigInt? offset}) Future<Uint8List>
crateApiRustyXChaCha20Poly1305Encrypt({required RustyXChaCha20Poly1305 that, required List<int> cleartext, Uint8List? nonce, Uint8List? aad}) Future<Uint8List>
crateApiRustyXChaCha20Poly1305EncryptToFile({required RustyXChaCha20Poly1305 that, required List<int> cleartext, required String filePath, Uint8List? nonce, Uint8List? aad, bool? append}) Future<void>
crateApiRustyXChaCha20Poly1305GenerateKey() Future<Uint8List>
crateApiRustyXChaCha20Poly1305GenerateNonce() Future<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