com.SecurePlay.Imported.MD5
Class MD
java.lang.Object
com.SecurePlay.Imported.MD5.MD
- Direct Known Subclasses:
- MD4, MD5
- public class MD
- extends java.lang.Object
-
|
Field Summary |
(package private) int |
A
|
(package private) int |
B
|
(package private) int |
C
|
(package private) int[] |
d
|
(package private) int |
D
|
(package private) int |
numwords
|
|
Constructor Summary |
MD(byte[] in)
Constructor |
MD(java.lang.String s)
Constructor |
|
Method Summary |
void |
calc()
|
byte[] |
getHash()
|
int[] |
getregs()
|
java.lang.String |
getSHash()
|
static void |
main(java.lang.String[] argv)
|
(package private) void |
MDinit(byte[] in)
|
(package private) static int |
rotintlft(int val,
int numbits)
|
(package private) void |
round1(int blk)
|
(package private) void |
round2(int blk)
|
(package private) void |
round3(int blk)
|
(package private) void |
round4(int blk)
|
static byte[] |
tobhex(int i)
|
(package private) static java.lang.String |
tohex(int i)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
A
int A
B
int B
C
int C
D
int D
d
int[] d
numwords
int numwords
MD
public MD(java.lang.String s)
- Constructor
- Parameters:
s -
MD
public MD(byte[] in)
- Constructor
- Parameters:
in -
main
public static void main(java.lang.String[] argv)
MDinit
void MDinit(byte[] in)
toString
public java.lang.String toString()
getregs
public int[] getregs()
calc
public void calc()
round1
void round1(int blk)
round2
void round2(int blk)
round3
void round3(int blk)
round4
void round4(int blk)
rotintlft
static int rotintlft(int val,
int numbits)
tohex
static java.lang.String tohex(int i)
tobhex
public static byte[] tobhex(int i)
getHash
public byte[] getHash()
getSHash
public java.lang.String getSHash()
2006 Copyright Filed by IT GlobalSecure, Inc. All Rights Reserved. Not to be used without authorization by Author. SecurePlay, IT GlobalSecure, and IT Armor are registered trademarks by IT GlobalSecure, Inc. Software protected by software license, and one or more the following U.S. and International patent numbers: U.S. Patent 6,030,288, U.S. Patent 6,165,072, European Patent Office EP1016049A1,and World Intellectual Property Organization WO9912135C1 and additional filings worldwide.