Returns hex-encoded text which was "scrambled" with the Secure Hash Algorithm using 256 bits for extra scrambly goodness. The %sha256 function is a standard, secure algorithm for "scrambling" text so that anyone who knows the original can perform verification without transmiting the original. This algorithm is portable and available in any language and environment.

Rather than storing passwords in a database, store the %sha256() hashed username and password as a unique "id". Then, when a person logs in you check to see if their "id" is in the database. This way you can run an anonymous, secure database, where nobody, not even the DBA, can get access to a users password! Like so: %sha256(%username%%password%)



is shorthand for


See Also

sha | md5 | digest