|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjhplot.security.MD5
public class MD5
Get MD5 hash for any object or a file with data
| Constructor Summary | |
|---|---|
MD5(File f)
Initialize MD5 calculations for a file |
|
MD5(Object o)
Initialize MD5 calculations |
|
| Method Summary | |
|---|---|
String |
get()
Returns 32-character hex representation of this objects hash |
byte[] |
getData()
Get data as stream |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MD5(Object o)
o - input objectpublic MD5(File f)
f - input file| Method Detail |
|---|
public String get()
String - of this object's hashpublic byte[] getData()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||