XOREncryption class

Simple XOR encryption (for development/testing only) Note: NOT cryptographically secure - use AES for production

Implemented types

Constructors

XOREncryption()

Properties

algorithm EncryptionAlgorithm
Encryption algorithm
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decrypt(String data, {String? key}) Future<String>
Decrypt data
override
encrypt(String data, {String? key}) Future<String>
Encrypt data
override
generateKey() String
Generate encryption key
override
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