steel_crypt 0.1.1
steel_crypt: ^0.1.1 copied to clipboard
A collection of high-level API's exposing PointyCastle/encrypt to perform hashing and encrypting in popular/secure algorithms.
example/example.dart
import 'package:steel_crypt/steel_crypt.dart';
main() {
var key = CryptKey().genKey();
var encrypter = Crypt(key, 'Salsa20');
var hasher = HashCrypt('SHA-3');
print(hasher.hash('a'));
print(encrypter.encrypt('word'));
print(encrypter.decrypt(encrypter.encrypt('word')));
print(key);
}