EncryptionHelper class
Encryption helper utilities
Constructors
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
-
aes(
) → EncryptionProvider - Create AES encryption provider
-
decodeBase64(
String data) → String - Decode data from base64
-
encodeBase64(
String data) → String - Encode data to base64
-
generateSecureKey(
{int length = 32}) → String - Generate secure random key
-
simpleHash(
String data) → String - Hash data (simple hash for non-cryptographic purposes)
-
xor(
) → EncryptionProvider - Create XOR encryption provider