intarsys runtime library

de.intarsys.tools.digest
Class Digest

java.lang.Object
  extended by de.intarsys.tools.digest.Digest
All Implemented Interfaces:
IDigest

public class Digest
extends Object
implements IDigest

The default IDigest implementation.


Method Summary
 boolean equals(Object obj)
           
 String getAlgorithmName()
           
 byte[] getBytes()
           
 int getSize()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getAlgorithmName

public String getAlgorithmName()
Specified by:
getAlgorithmName in interface IDigest
Returns:
the digest algorithm's JCA name

getBytes

public byte[] getBytes()
Specified by:
getBytes in interface IDigest
Returns:
raw bytes

getSize

public int getSize()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.