net.spy.util
Class DigestHex
java.lang.Object
net.spy.SpyObject
net.spy.util.DigestHex
public class DigestHex
- extends SpyObject
Hex digester.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DigestHex
public DigestHex(String alg)
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.