AesCrypt class

This is an AES symmetric encryption machine. Various modes and paddings are available.

This version of AesCrypt is encoded. It expects keys and IVs to be base-64 encoded, and returns base64 encoded Strings. Plaintext should be UTF-8. For more flexibility, AesCryptRaw is recommended.

Constructors

AesCrypt({required PaddingAES padding, required String key})
Creates 'Crypt', serves as encrypter/decrypter of text.

Properties

cbc → CbcSatellite
no setter
cfb64 → CfbSatellite
no setter
ctr → CtrSatellite
no setter
ecb → EcbSatellite
no setter
gcm → GcmSatellite
no setter
gctr64 → GctrSatellite
no setter
hashCode int
The hash code for this object.
no setterinherited
ofb64 → OfbSatellite
no setter
padding PaddingAES
Get this AesCrypt's type of padding.
getter/setter pair
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