Aes256 class

A utility class for AES-256 encryption and decryption.

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({required String encrypted, required String passphrase}) String?
Decrypts a base64 encoded string using AES-256 with the given passphrase.
encrypt({required String text, required String passphrase}) String
Encrypts a string using AES-256 with the given passphrase.