Common tools library 6.0.0-SNAPSHOT

org.jboss.dashboard.toolkit.factory.util
Class Hash

java.lang.Object
  extended by org.jboss.dashboard.toolkit.factory.util.TextConverterFunction
      extended by org.jboss.dashboard.toolkit.factory.util.Hash

public class Hash
extends TextConverterFunction


Constructor Summary
Hash()
           
 
Method Summary
 String convertValue(String value)
           
 String digestPassword(String password)
           
static String encode(byte[] raw)
           
protected static char[] encodeBlock(byte[] raw, int offset)
           
protected static char getChar(int sixBit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hash

public Hash()
Method Detail

convertValue

public String convertValue(String value)
Specified by:
convertValue in class TextConverterFunction

digestPassword

public String digestPassword(String password)

encode

public static String encode(byte[] raw)

encodeBlock

protected static char[] encodeBlock(byte[] raw,
                                    int offset)

getChar

protected static char getChar(int sixBit)

Common tools library 6.0.0-SNAPSHOT

Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.