Whatever message this page gives is out now! Go check it out!
GenerateBCryptHash(plaintext, options)Parameter | Description |
plaintext | (Required) The input string on which the hash function must be run. |
options | (Optional) A struct with the following values:
|
<cfscript>
stringToEncrypt = "Sample string"
options = StructNew()
options.rounds = 4
options.version = "$2a"
bcrypted = GenerateBCryptHash(stringToEncrypt, options)
writeDump(bcrypted)
</cfscript>