Core Function BCryptVerify

From Sputnik Wiki
Jump to: navigation, search
BCryptVerify( <expression>, <hash> )

Contents

Description

Verify a hash to a string (usually password) with BCrypt.

Parameters

expression

The string/password to check.

hash

The hash to verify.

Return Value

Returns TRUE on success and FALSE on fail.

Remarks

This is considered a lot more secure then SHA1 and MD5 since it takes considerably more processing power to try crack it and you can simply increase the rounds making even extreme processing power incapable of cracking it within the attackers life time.

Example

my $Password = "1221";
my $HASH = BCrypt($Password);
println($HASH);
If(BCryptVerify($Password, $HASH))
{
	println("TRUE");
}
else
{
	println("FALSE");
}
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox