MethodChannelFlutterChacha20Poly1305 class
An implementation of FlutterChacha20Poly1305Platform that uses method channels.
- Inheritance
-
- Object
- FlutterChacha20Poly1305Platform
- MethodChannelFlutterChacha20Poly1305
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decrypt(
List< int> encrypted, List<int> key, List<int> nonce, List<int> tag) → Future<List< int> ?> -
override
-
decryptString(
String inputEncoding, String encryptedString, String key, String nonce, String tag) → Future< String?> -
this method takes inputs in base64 or hex encoding string depending on inputEncoding
override
-
encrypt(
List< int> data, List<int> key) → Future<Map?> -
override
-
encryptString(
String string, String key, String keyEncoding, String outputEncoding) → Future< Map?> -
key must be in base64 or hex encoding string depending on keyEncoding, outputEncoding should be in "base64" or "hex"
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