Skip to content

Encryption

Encode

String encodedMessage = AESEncryptor.encode('Hello world', 'your-secret');
print(encodedMessage);

Decode

String decodedMessage = AESEncryptor.decode(encodedMessage, 'your-secret');
print(decodedMessage);