net.spy.util
Class DigestHex

java.lang.Object
  extended by net.spy.SpyObject
      extended by net.spy.util.DigestHex

public class DigestHex
extends SpyObject

Hex digester.


Constructor Summary
DigestHex(String alg)
           
 
Method Summary
protected  MessageDigest getDigest()
          Get the type of digest to use for this digest authenticator.
 String getHexDigest(String in)
          Get the hex digest of the given string.
 
Methods inherited from class net.spy.SpyObject
getLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DigestHex

public DigestHex(String alg)
Method Detail

getDigest

protected MessageDigest getDigest()
Get the type of digest to use for this digest authenticator.


getHexDigest

public String getHexDigest(String in)
Get the hex digest of the given string.

Parameters:
in - a string
Returns:
the hex digest of this string


Copyright © 1995-2007 SPY Internetworking. All Rights Reserved.