securitycheck 1.2.1 securitycheck: ^1.2.1 copied to clipboard
A library to check whether your passwords are secure and strong.
EXAMPLE FOR SECURITY CHECK #
Here's the example's pubspec.yaml
:
name: test
description: A test app for Security Check!
version: 1.0.0
publish_to: none
homepage: https://github.com/angeldollface/securitycheck
environment:
sdk: '>=2.12.0 <3.0.0'
dependencies:
securitycheck:
git: git://github.com/angeldollface/securitycheck.git
Here's the example itself:
/*
Security Check by Alexander Abraham a.k.a. "Angel Dollface".
Licensed under the MIT license.
*/
/*
void main(){
// Your password as a string.
String myPassword = 'mynameisjesus7509__@+';
// An integer representation of how secure your password is.
String myPasswordRating = passwordStrength(myPassword).toString();
// A boolean representation of whether your password is strong.
String myPasswordIsStrong = isSecure(myPassword).toString();
// Prints a number from one to ten.
print(myPasswordRating);
//Prints either true or false.
print(myPasswordIsStrong);
}
*/
import 'package:securitycheck/securitycheck.dart';
void main() {
testPwdMethods();
testCharMethods();
}