jonelo.jacksum.algorithm

Class MDbouncycastle


public class MDbouncycastle
extends AbstractChecksum

A wrapper class that can be used to compute GOST, RIPEMD256 and RIPEMD320 (provided by bouncycastle.org).

Constructor Summary

MDbouncycastle(String arg)
Creates new MDbouncycastle

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

MDbouncycastle

public MDbouncycastle(String arg)
            throws NoSuchAlgorithmException
Creates new MDbouncycastle

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)