Question Everything!
New member
READ ME:
What is a code that creates a strong dynamic salt based on the entered string that is different every time BUT the same when the same string is entered?
Thank You.
For example (this is my attempt):
function dynamicSalt($input1, input2) {
$dualInput = $input1.$input2;
$X = strlen($dualInput);
$Y = strripos($dualInput,'a').strripos($dualInput,'e').strripos($dualInput,'i').strripos($dualInput,'o').strripos($dualInput,'u');
$dynamicSalt = $X + $Y;
}
What is a code that creates a strong dynamic salt based on the entered string that is different every time BUT the same when the same string is entered?
Thank You.
For example (this is my attempt):
function dynamicSalt($input1, input2) {
$dualInput = $input1.$input2;
$X = strlen($dualInput);
$Y = strripos($dualInput,'a').strripos($dualInput,'e').strripos($dualInput,'i').strripos($dualInput,'o').strripos($dualInput,'u');
$dynamicSalt = $X + $Y;
}