securitycheck library
Properties
- arabicCharacterWeight ↔ int
-
This variable is the increment weight
that an "arabic" character (number or letter)
warrants in a password.
getter/setter pair
- securityWeight ↔ int
-
This variable is the security weight
that the algorithm checks against.
getter/setter pair
- specialCharacterWeight ↔ int
-
This variable is the increment weight
that a special character warrants
in a password.
getter/setter pair
Functions
-
charType(
String character) → String - This method returns the type of a character in a password.
-
generatePassword(
int length) → String - This method generates a password of the length specified and returns it.
-
getCharPositon(
String character) → int - This method returns the position of a given character as an integer.
-
getCharSpace(
String characterOne, String characterTwo) → int - This method returns the space between two characters as an integer.
-
getNumberSpace(
String numberOne, String numberTwo) → int - This method returns the space between two numbers as an integer.
-
isInt(
String character) → bool -
This method returns a boolean value
(either
true
orfalse
) of whether a character is an integer. -
isSecure(
String password) → bool -
This method returns a boolean
value (either
true
orfasle
) that sums up whether a password is secure or not. -
passwordStrength(
String password) → int - This method returns the strength of a password on a scale from one to ten as an integer.
-
stringType(
String character) → String - This method checks what type a character has.
-
testCharMethods(
) → void - This method tests all of the above methods.
-
testGenerator(
) → void -
testPwdMethods(
) → void