NanoCrypt class

Utility for encrypting and decrypting

Constructors

NanoCrypt()

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

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

Static Methods

decrypt(dynamic value, String password, {KDF? kdf}) Uint8List
Decrypts a value with a password using AES/CBC/PKCS7 KDF is Sha256KDF if not specified
encrypt(dynamic value, String password, {KDF? kdf}) Uint8List
Encrypts a value using AES/CBC/PKCS7 KDF is Sha256KDF if not specified