{"id":13583021,"url":"https://github.com/mattt/Chroma-Hash","last_synced_at":"2025-04-06T18:31:47.440Z","repository":{"id":623217,"uuid":"263030","full_name":"mattt/Chroma-Hash","owner":"mattt","description":"A colorful visualization of password field input","archived":true,"fork":false,"pushed_at":"2018-09-26T20:25:55.000Z","size":65,"stargazers_count":622,"open_issues_count":0,"forks_count":42,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-11-05T23:41:25.984Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mattt.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-07-28T23:53:35.000Z","updated_at":"2024-11-02T18:07:07.000Z","dependencies_parsed_at":"2022-08-16T10:31:20.067Z","dependency_job_id":null,"html_url":"https://github.com/mattt/Chroma-Hash","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattt%2FChroma-Hash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattt%2FChroma-Hash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattt%2FChroma-Hash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattt%2FChroma-Hash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattt","download_url":"https://codeload.github.com/mattt/Chroma-Hash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247531003,"owners_count":20953884,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T15:03:11.906Z","updated_at":"2025-04-06T18:31:47.162Z","avatar_url":"https://github.com/mattt.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Chroma-Hash\n\nPassword entry can be frustrating, \nespecially with long or difficult passwords. \nOn a webpage, secure fields obscure your input with •'s so others can't read it. \nUnfortunately, neither can you --- \nyou can't tell if you got your password right until you click \"Log In\".\n\nChroma-Hash is a jQuery plugin that visualizes secure text-field values using ambient color bars.\n\nChroma-Hash displays a series of colored bars at the end of field inputs \nso you can instantly tell if your password is right. \nThe script takes a hash of your input to compute the colors in the visualization;\nthe resulting color pattern is non-reversible, \nso no one can determine your password from the colors alone.\n\n## Usage\n\n```javascript\n$(\"input:password\").chromaHash({bars: 3, salt:\"7be82b35cb0199120eea35a4507c9acf\", minimum:6});\n```\n\n- `bars` : the number of bars displayed (1, 2, 3, or 4)\n- `salt` : the value to be appended when calculating hash function\n- `minimum` : the minimum number of characters needed for grayscale bars to be displayed in color\n\n## Requirements\n\n- jQuery 1.3+\n\n## Ports, Implementations, and Adaptations\n\nChroma-Hash is also available in your choice of JavaScript libraries and languages:\n\n- [CHChromaHashView (iOS) - @mattt (Mattt)](https://github.com/mattt/CHChromaHashView)\n- [ChromaHashView (Android) - @michaelevans (Michael Evans)](https://github.com/MichaelEvans/ChromaHashView)\n- [YUI3 - @foxxtrot (Jeff Craig)](http://github.com/foxxtrot/Chroma-Hash)\n- [Prototype - @wki (Wolfgang Kinkeldei)](http://github.com/wki/Chroma-Hash)\n- [pyChroma (Python) - @leegao (Lee Gao)](http://github.com/leegao/pyChroma)\n- [ChromaHash4j (Java) - @efi (Thomas Efer)](http://github.com/efi/ChromaHash4j)\n\n\u003e For the more acoustically-inclined, \n\u003e check out [Sonic-Hash](http://mattt.github.com/Sonic-Hash/), \n\u003e which uses sounds instead of colors.\n\n## Credit\n\nInspired by Arc90 Lab's HashMask, by Chris Dary\n[http://lab.arc90.com/2009/07/hashmask.php](http://lab.arc90.com/2009/07/09/hashmask-another-more-secure-experiment-in-password-masking/)\n\nChroma-Hash uses Paul Johnston's Javascript MD5 implementation, and is distributed under the BSD License\nSee [http://pajhome.org.uk/crypt/md5](http://pajhome.org.uk/crypt/md5) for more info.\n\nThanks 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.\n\n## Contact\n\nMattt ([@mattt](https://twitter.com/mattt))\n\n## License\n\nChroma-Hash is released under the MIT license. \nSee the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattt%2FChroma-Hash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattt%2FChroma-Hash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattt%2FChroma-Hash/lists"}