EncryptionService class

Constructors

EncryptionService()
factory

Properties

chacha20Poly1305Aead → Chacha20
1
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decrypt1({required Nonce nonce, required Nonce cnonce, required String data}) Future<Map<String, dynamic>?>
Decrypt 2
decrypt2({required String data}) Future<Map<String, dynamic>?>
Decrypt 2
decrypt3(String encryptedText) Future<Map<String, dynamic>?>
Decrypt 3
decrypt4(String data) Future<String>
Encrypt 4
encrypt1({required Nonce cnonce, required Nonce nonce, Map<String, dynamic>? data}) Future<String>
Encrypt 1
encrypt2({Map<String, dynamic>? data}) Future<String>
Encrypt 2
encrypt3(Map<String, dynamic> data) Future<String>
Encrypt 3 For Token
encrypt4(String data) Future<String>
Encrypt 4
encryptToken(Map<String, dynamic> payload) Future<String>
init(String clientSecretKey1, String clientSecretKey2, String tokenSecretKey1, String tokenSecretKey2, String deviceIdSecretKey) → void
mergeMac(SecretBox secretBox) Uint8List
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
splitMac(List<int> nonce, Uint8List list) → SecretBox
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited