0 purchases
aes256cipher
aes256cipher #
AES256Cipher secure module.
Getting Started #
This project is a starting point for a Flutter
plug-in package,
a specialized package that includes platform-specific implementation code for
current only possible Android (will be possible "and/or iOS" later).
For help getting started with Flutter development, view the
online documentation, which offers tutorials,
samples, guidance on mobile development, and a full API reference.
🍔add #
flutter pub add aes256cipher
copied to clipboard
🚀usage #
create instance
parameter
required
type
key
✔️
String
ivSpec
❌
Int
transformation
❌
String
final AES256Cipher aes256Cipher = AES256Cipher(key: [String - length: 32]);
ex) aes256Cipher = AES256Cipher(key: "a" * 32);
copied to clipboard
encrypt
final String value = "something";
final String encryptResult = aes256Cipher.encrypt(value); // hD5BBkxQWdEMu5PNncxtGw==
copied to clipboard
decrypt
final String decryptResult = aes256Cipher.decrypt(encryptResult); // [B@552ab2b
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.