vanphash 2020.0.4 vanphash: ^2020.0.4 copied to clipboard
Vanilla Password Hashing or vanphash is a simple password generator library based on hashing, it starts as a legacy alternative to Twik Android app.
import 'package:vanphash/vanphash.dart';
import 'package:vanphash/src/types.dart';
main() {
String tag = 'tag';
String master_password = 'master_password';
String secret_key = 'secret_key';
print(twik_password(
tag, master_password, secret_key, 15, PasswordType.special));
print(custom_password(tag, master_password, secret_key, 15, 3, 3, 3, 3));
print(vanphash_password(tag, master_password, secret_key));
}