Package de.mediathekview.mlib.tool
Class Hash
- java.lang.Object
-
- de.mediathekview.mlib.tool.Hash
-
public final class Hash extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Hashfinish()byte[]getBytes()inthashCode()voidreset()StringtoHexString()StringtoString()Hashupdate(byte b)Hashupdate(byte[] b)Hashupdate(byte[] b, int off, int len)Hashupdate(char c)Hashupdate(double d)Hashupdate(float f)Hashupdate(int i)Hashupdate(long l)Hashupdate(short s)Hashupdate(String s)Hashupdate(ByteBuffer bb)
-
-
-
Constructor Detail
-
Hash
public Hash()
-
Hash
public Hash(byte[] b)
-
Hash
public Hash(byte[] b, int off, int len)
-
Hash
public Hash(ByteBuffer bb)
-
Hash
public Hash(String s)
-
Hash
public Hash(char c)
-
Hash
public Hash(short s)
-
Hash
public Hash(int i)
-
Hash
public Hash(long l)
-
Hash
public Hash(float f)
-
Hash
public Hash(double d)
-
-
Method Detail
-
update
public Hash update(byte b)
-
update
public Hash update(byte[] b)
-
update
public Hash update(byte[] b, int off, int len)
-
update
public Hash update(ByteBuffer bb)
-
update
public Hash update(short s)
-
update
public Hash update(char c)
-
update
public Hash update(int i)
-
update
public Hash update(long l)
-
update
public Hash update(float f)
-
update
public Hash update(double d)
-
finish
public Hash finish()
-
reset
public void reset()
-
getBytes
public byte[] getBytes()
-
toHexString
public String toHexString()
-
-