cryptix.provider.md
public final class MD5 extends BlockMessageDigest implements Cloneable
BUG: The update method is missing.
References:
Copyright © 1995-1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.8 $
Since: Cryptix 2.2
Constructor Summary | |
---|---|
MD5()
The public constructor. |
Method Summary | |
---|---|
Object | clone()
Returns a copy of this MD object. |
protected byte[] | engineDigest(byte[] in, int length)
Returns the digest of the data added and resets the digest. |
protected int | engineGetDataLength() Returns the length of the data (in bytes) hashed in every transform. |
protected int | engineGetDigestLength() Returns the length of the hash (in bytes). |
protected void | engineReset()
Initializes (resets) the message digest. |
protected void | engineTransform(byte[] in)
Adds data to the message digest.
|
protected static int | F(int x, int y, int z) |
protected static int | FF(int a, int b, int c, int d, int k, int s, int t) |
protected static int | G(int x, int y, int z) |
protected static int | GG(int a, int b, int c, int d, int k, int s, int t) |
protected static int | H(int x, int y, int z) |
protected static int | HH(int a, int b, int c, int d, int k, int s, int t) |
protected static int | I(int x, int y, int z) |
protected static int | II(int a, int b, int c, int d, int k, int s, int t) |
static void | main(String[] argv)
Entry point for self_test . |
static void | self_test()
Do some basic tests.
|
protected void | transform(int[] M) |
Returns: the digest of all the data added to the message digest as a byte array.
Parameters: data The data to be added. offset The start of the data in the array. length The amount of data to add.
self_test
.See Also: cryptix.examples.UnitMD5