Password Hashing

This example creates users and logs them in by using bcrypt password hashing.

Script Code

examples.webscript.io/signup

examples.webscript.io/login

Demo Code

The demo code for the forms below is a bit long, so please view the source of this page for the full HTML and JavaScript.

An abridged version of the JavaScript follows:

Try it!

Sign Up
Log In