Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <cfoutput>
- <cfset password = "Passw@12">
- <cfset variables.salt = Hash(GenerateSecretKey("AES"), "SHA-512") />
- <cfset variables.hashedPassword = Hash(password & variables.salt, "SHA-512") />
- #variables.hashedPassword#
- E5831EB3A319CDEAE299C7A6C745533DB608D1E16C4891CD0AE5B7125BBA6753D822F7F9EA63D28FF50DC670A0B4B16330BD9DDDAAE32451934039D6CF93D689
- <cfset variables.hashedPassword = Hash(password & variables.salt, "SHA-512") />
- <cfset variables.hashedPassword = Hash(password & variables.salt, "SHA-512") />
- </cfoutput>
Add Comment
Please, Sign In to add comment