Whatever message this page gives is out now! Go check it out!
VerifyBCryptHash(plaintext, hashedString)Parameter | Description |
plaintext | (Required) The input string on which the hash function must be run. |
hashedString | (Required) The hashed output from the GenerateBCryptHash function. |
<cfscript>
stringToEncrypt = "Sample string"
options = StructNew()
options.rounds = 4
options.version = "$2a"
bcrypted = GenerateBCryptHash(stringToEncrypt, options)
verified=VerifyBCryptHash(stringToEncrypt,bcrypted)
writeDump(verified)
</cfscript>