Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.62 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.62 KB

Emoji Password Mask

Tired of annoying password meters?! This one allows you to replace the characters with your choice of emoji to represent the strength of the password on a scale from 0-4. This project was thrown together in a very small period of time sparked by a conversation I had with

Use

This depends on MaskedPassword.js from an article on sitepoint, Mathias Bynens' .at polyfill](), dropbox's zxcvbn librarty]() for password strength.

See the index.html file for a working example.

Once you've got all those dependencies in your browser, just call:

new MaskedPassword([id-of-element], [emoji-config]);

A hidden field with the real password will be created.

TODO

[] - I haven't actually coded up what happens when the form submits. One would probably have to swap out some names to get the real value on the server. [] - Make the index.html page pretty.

Resources: