crypto_dart 1.0.0 crypto_dart: ^1.0.0 copied to clipboard
a dart libary that tries to implement crypto-js functionality.
Crypto Dart is made to have crypto-js like usage and results;
Features #
AES ENCRYPTION 128-192-256 AES DECRYPTION 128-192-256
OPENSSL EVP_BYTESTOKEY
Getting started #
import the package then create a instance of CryptoDart
import 'package:crypto_dart/crypto_dart';
final CryptoDart crypto = CryptoDart();
Usage #
AES ENCRYPTION
final encrypted = crypto.aes.encrypt('Hello, World', 'my secret key');
AES DECRYPTION
final decrypted = crypto.aes.decrypt(encrypted.toString(), 'my secret key');
print(decrypted.convertToString(crypto.enc.utf8));
Additional information #
none for know except that it's work in progress