Skip to content

MichaelEvans/ChromaHashView

Repository files navigation

##About

A classic password visualization concept, ported to Android

ChromaHashView

Chroma-Hash is a concept for visualizing secure text input using ambient color bars

Password entry can be frustrating, especially with long or difficult passwords. 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 tap "Log In".

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.

See the original web version for a live demonstration, and a bit more explanation.

##Usage

ChromaHashView is a drop in replacement for an EditText for password input.

Right now you need to import the library to your project, but it will be uploaded to Maven Central shortly.

##License

Copyright 2014 Michael Evans

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.