crypto_dart 1.0.0 copy "crypto_dart: ^1.0.0" to clipboard
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

4
likes
0
pub points
83%
popularity

Publisher

unverified uploader

a dart libary that tries to implement crypto-js functionality.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

convert, pointycastle

More

Packages that depend on crypto_dart