CryptoService class
Constructors
- CryptoService({CryptoType type = CryptoType.aesGcm256, int pbkdf2Iterations = 100000, LogListener? logListener, LogLevel logLevel = LogLevel.none})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- logLevel → LogLevel
-
final
- logListener → LogListener?
-
final
- pbkdf2Iterations → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → CryptoType
-
final
Methods
-
decryptToBytes(
String envelopeString, String passphrase) → Future< List< int> > -
decryptToJson(
String envelopeString, String passphrase) → Future< Map< String, dynamic> > -
encryptBytes(
List< int> data, String passphrase) → Future<String> -
encryptString(
String plaintext, String passphrase) → Future< String> -
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