Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<cfset user_id = "bill" />
<cfset password = "p@ssW0rd" />
<cfset crypto = createObject('component', 'Crypto') />
<cfset salt = crypto.genSalt() />
<cfset passwordHash = crypto.computeHash(password,salt) />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment