Skip to content

Instantly share code, notes, and snippets.

@virtix
Created June 24, 2009 11:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save virtix/135191 to your computer and use it in GitHub Desktop.
Save virtix/135191 to your computer and use it in GitHub Desktop.
<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