jonelo.jacksum.algorithm

Class MDgnu


public class MDgnu
extends AbstractChecksum

A wrapper class that can be used to compute HAVAL, MD2, MD4, MD5, RIPEMD128, RIPEMD160, SHA1, SHA256, SHA384, SHA512, TIGER, WHIRLPOOL-1 (provided by GNU Crypto) and SHA0, SHA224, TIGER128, TIGER160, TIGER2, WHIRLPOOL-0 and WHIRLPOOL (provided by jonelo).

Constructor Summary

MDgnu(String arg)
Creates new MDgnu

Method Summary

byte[]
getByteArray()
void
reset()
String
toString()
void
update(byte b)
void
update(byte[] buffer, int offset, int len)
void
update(int b)

Constructor Details

MDgnu

public MDgnu(String arg)
            throws NoSuchAlgorithmException
Creates new MDgnu

Method Details

getByteArray

public byte[] getByteArray()

reset

public void reset()

toString

public String toString()

update

public void update(byte b)

update

public void update(byte[] buffer,
                   int offset,
                   int len)

update

public void update(int b)