jonelo.jacksum.algorithm

Class Edonkey


public class Edonkey
extends AbstractChecksum

A class that can be used to compute the eDonkey of a data stream.

Constructor Summary

Edonkey()
Creates a new Edonkey object

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

Edonkey

public Edonkey()
            throws NoSuchAlgorithmException
Creates a new Edonkey object

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)