Skip to content
Newer
Older
100644 63 lines (37 sloc) 2.8 KB
fab3fde @mattt Initial commit
authored
1 Chroma-Hash
2 ===========
3
cd50d31 @mattt v0.2 release with support for Salts and minimum character length
authored
4 ## A sexy, secure visualization of password field input
fab3fde @mattt Initial commit
authored
5
2bf2f8f @mattt Extracting license into LICENSE file
authored
6 Chroma-Hash is a jQuery plugin that dynamically visualizes secure text-field values using ambient color bars
fab3fde @mattt Initial commit
authored
7
93facef @mattt Adding links to ports and adaptations in the README
authored
8 Password entry can be frustrating, especially with long or difficult passwords. On a webpage, secure fields obscure your input with •'s, so others can't read it. Unfortunately, neither can you—you can't tell if you got your password right until you click "Log In".
87cdcab @mattt Markdown formatting fixes
authored
9
ffa2df2 @mattt More specific credit, where credit is due.
authored
10 Chroma-Hash displays a series of colored bars at the end of field inputs so you can instantly see if your password is right. Chroma-Hash takes an MD5 hash of your input and uses that to compute the colors in the visualization. The resulting color pattern is non-reversible, so no one could know what your password just from the colors.
11
12 For a more detailed description of Chroma-Hash, be sure to [check out this blog post about it.](http://mattt.me/2009/11/chroma-hash-revisited/).
fab3fde @mattt Initial commit
authored
13
6a4a422 @mattt Adding demo link to README
authored
14 ## Demo
15
93facef @mattt Adding links to ports and adaptations in the README
authored
16 Actions speak louder than words.
17 Try it out at: [http://mattt.github.com/Chroma-Hash/](http://mattt.github.com/Chroma-Hash/ "Try out Chroma-Hash!")
6a4a422 @mattt Adding demo link to README
authored
18
fab3fde @mattt Initial commit
authored
19 ## Usage
20
93facef @mattt Adding links to ports and adaptations in the README
authored
21 $("input:password").chromaHash({bars: 3, salt:"7be82b35cb0199120eea35a4507c9acf", minimum:6});
fab3fde @mattt Initial commit
authored
22
93facef @mattt Adding links to ports and adaptations in the README
authored
23 - `bars` : number of bars displayed (1,2,3, or 4)
24 - `salt` : value to be appended when calculating hash function
25 - `minimum` : minimum number of characters needed for grayscale bars to be displayed in color
fab3fde @mattt Initial commit
authored
26
27 ## Requirements
ffa2df2 @mattt More specific credit, where credit is due.
authored
28
fab3fde @mattt Initial commit
authored
29 - jQuery 1.3+
30
2bf2f8f @mattt Extracting license into LICENSE file
authored
31 ## Ports, Implementations, and Adaptations
fab3fde @mattt Initial commit
authored
32
2bf2f8f @mattt Extracting license into LICENSE file
authored
33 Chroma-Hash is also available in your choice of Javascript libraries and languages:
fab3fde @mattt Initial commit
authored
34
2bf2f8f @mattt Extracting license into LICENSE file
authored
35 - [YUI3 - foxxtrot (Jeff Craig)](http://github.com/foxxtrot/Chroma-Hash)
36 - [Prototype - wki (Wolfgang Kinkeldei)](http://github.com/wki/Chroma-Hash)
37 - [pyChroma (Python) - leegao (Lee Gao)](http://github.com/leegao/pyChroma)
38 - [ChromaHash4j (Java) - efi (Thomas Efer)](http://github.com/efi/ChromaHash4j)
fab3fde @mattt Initial commit
authored
39
2bf2f8f @mattt Extracting license into LICENSE file
authored
40 For the more acoustically-inclined, be sure to check out [Sonic-Hash](http://mattt.github.com/Sonic-Hash/), which is like its older brother, but uses sounds instead of colors.
fab3fde @mattt Initial commit
authored
41
93facef @mattt Adding links to ports and adaptations in the README
authored
42 ## Credit
ffa2df2 @mattt More specific credit, where credit is due.
authored
43
44 Inspired by Arc90 Lab's HashMask, by Chris Dary
45 [http://lab.arc90.com/2009/07/hashmask.php](http://lab.arc90.com/2009/07/09/hashmask-another-more-secure-experiment-in-password-masking/)
46
93facef @mattt Adding links to ports and adaptations in the README
authored
47 Chroma-Hash uses Paul Johnston's Javascript MD5 implementation, and is distributed under the BSD License
bd10f8a @mattt Removing credit to removed jQuery color transition code.
authored
48 See [http://pajhome.org.uk/crypt/md5](http://pajhome.org.uk/crypt/md5) for more info.
3163528 @mattt Version 0.3.0
authored
49
ffa2df2 @mattt More specific credit, where credit is due.
authored
50 Thanks to [Ian Young](http://www.iangreenleaf.com/) for his [suggestion to represent color components in 4-bits](http://blog.iangreenleaf.com/2009/08/making-chroma-hash-less-leaky.html) to increase overall security.
93facef @mattt Adding links to ports and adaptations in the README
authored
51
2bf2f8f @mattt Extracting license into LICENSE file
authored
52 ## Contact
93facef @mattt Adding links to ports and adaptations in the README
authored
53
2bf2f8f @mattt Extracting license into LICENSE file
authored
54 Mattt Thompson
93facef @mattt Adding links to ports and adaptations in the README
authored
55
2bf2f8f @mattt Extracting license into LICENSE file
authored
56 - http://github.com/mattt
57 - http://twitter.com/mattt
58 - m@mattt.me
93facef @mattt Adding links to ports and adaptations in the README
authored
59
2bf2f8f @mattt Extracting license into LICENSE file
authored
60 ## License
93facef @mattt Adding links to ports and adaptations in the README
authored
61
2bf2f8f @mattt Extracting license into LICENSE file
authored
62 Chroma-Hash is available under the MIT license. See the LICENSE file for more info.
Something went wrong with that request. Please try again.