aes256cipher 0.0.1 copy "aes256cipher: ^0.0.1" to clipboard
aes256cipher: ^0.0.1 copied to clipboard

PlatformAndroid

flutter AES256Cipher module

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

🚀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);

encrypt

final String value = "something";

final String encryptResult = aes256Cipher.encrypt(value);    // hD5BBkxQWdEMu5PNncxtGw==

decrypt

final String decryptResult = aes256Cipher.decrypt(encryptResult);    // [B@552ab2b