• Register
  • Log In
  • Home
  • Quick Start
    • Configurator
    • Download YUI 3
  • Documentation
    • User Guides
    • Examples
    • API Docs
    • Environments
    • Tutorials
  • Community
    • Gallery
    • Blog
    • Forums
    • YUI Theater
    • Calendar
  • Contribute
    • YUI on GitHub »
    • File a Ticket
    • View Tickets
    • Dashboard
  • Other Projects
    • Shifter »
    • Yogi »
    • YUI 2
    • YUI Doc »
    • YUI Test
    • YUI Website
    • YUI Compressor »
    • YUI Builder »
    • YUI PHP Loader
    • Grid Builder »
    • Skin Builder »
  • YUI
  • >
  • Community
  • >
  • Gallery

Gallery

Modules

  • Home
  • Featured
  • Popular
  • New
  • All

Documentation

  • Yogi Documentation
  • Shifter Documentation
  • Developer Guide
  • Module Setup

Tag Cloud

Context Navigation

    YUI Library is not responsible for bugs or support with this module. It is available as a free service. For support please contact the module owner with the provided links.

    chromahash (gallery-chromahash) on cdn

    Last Updated: 11/20/09
    + 5 -

    Jeff Craig

    YUI Contributor

    See 8 more by this user.

    Created: 11/1/09
    Last CDN Push: 01/20/10
    Build Tag: gallery-2010.01.20-19
    Project: YUI 3
    License: YUI BSD
    YUI Version: 3.0.0
    Free for use.

    Chromahash is based on a jQuery module by Mattt Thompson, to serve as a visualization for password fields to aide users in verifying that their password entry is complete before submitting a form. It uses one to four color bars derived from the user's password and an optional salt value.

    • Tags:
    • foxxtrot
    • Download
    • Docs
    • Homepage
    • Bugs
    • Source
    • Example
    • Forum
    • History

    Configuration Options


    • bars: Number of color bars to display, must be between 1 and 4, inclusive (optional)
    • salt: A salt value to be appended to a password prior to being hashed (optional)
    • minimum: number of characters in the password before the visualization switches from grayscale to color

    Code Sample

    <script src="http://yui.yahooapis.com/3.0.0/build/yui/yui-min.js"></script>
    YUI({
        //Last Gallery Build of this module
        gallery: 'gallery-2010.01.20-19'
    }).use('gallery-chromahash', function(Y) {
      Y.one('#password').plug(Y.ChromaHash, {bars: 3, salt: "password_salt", minimum: 5});
    });

    Forum Posts

    Subject Author Date
    ChromaHash silently failing Patrick Cavit 01/13/10
    Re: ChromaHash silently failing Jeff Craig 01/17/10

    © 2006-2013 Yahoo! Inc. All rights reserved.
    All code on this site is licensed under the BSD License unless stated otherwise.
    About This Site · Security Contact Info