YUILibrary - Open source JavaScript and CSS for building richly interactive software.
Fork YUI on GitHub
  • Home
  • Gallery
  • Forums
  • YUI 2
  • YUI 3
  • YUICompressor
  • YUIDoc
  • More
  • Gallery Forums
  • Gallery Stats
  • Gallery Calendar
  • Register
  • Login

Modules

  • Home
  • Featured
  • Popular
  • New
  • All

Documentation

  • FAQ
  • Developer FAQ
  • Developer Guide
  • Module Setup

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)

    Last Updated: 11/20/09
    + 5 -

    Jeff Craig

    YUI Contributor

    See 2 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

    YUI({
        modules: {
            'gallery-chromahash': {
                fullpath: 'http://yui.yahooapis.com/gallery-2010.01.20-19/build/gallery-chromahash/gallery-chromahash-min.js',
                requires: ['plugin','node','stylesheet','collection','anim-color'],
                optional: [],
                supersedes: []
          }
     
        }
    }).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 01/13/10
    Re: ChromaHash silently failing Jeff Craig 01/17/10
    YUI Projects
    • All YUI Downloads
    • YUI 2
    • YUI 3
    • YUIDoc
    • YUICompressor
    • YUILibrary.com
    • YUI Build Tool
    • YUI PHP Loader
    Pages & Links
    • All YUI Downloads
    • Git FAQ
    • Graded Browser Support
    • Contribute to YUI
    • Forum Stats
    • Gallery Stats
    • YUI Calendar
    Contribute
    • Submit a Bug
    • Request a Feature
    • Write Code
    • Meet the Team
    Follow YUI
    • on GitHub
    • on Twitter
    • on FriendFeed
    • on Facebook
    • on IRC
    • YUI Blog
    • YUI Theater
    • YUI Forums

    © 2010 YUI Library - Site Credits