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

outdated

A plugin for AES encrytion and decrytion.

cipher2 #

A flutter plugin project for AES encryption and decrytion.

Getting Started #

This project is a plugin package for flutter which implements AES encrytion and decryption.

String plainText = '我是shyandsy,never give up man';
String key = 'xxxxxxxxxxxxxxxx';
String iv = 'yyyyyyyyyyyyyyyy';

encrytion #

this method will return a based 64 encoded ciphertext

// encrytion
String encryptedString = await Cipher2.encryptAesCbc128Padding7(plainText, key, iv);

decryption #

// decrytion
decryptedString = await Cipher2.decryptAesCbc128Padding7(encryptedString, key, iv);
10
likes
0
pub points
50%
popularity

Publisher

unverified uploader

A plugin for AES encrytion and decrytion.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on cipher2