|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
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(java.io.File f)
Initialize MD5 calculations for a file |
|
MD5(java.lang.Object o)
Initialize MD5 calculations |
Method Summary | |
---|---|
java.lang.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(java.lang.Object o)
o
- input objectpublic MD5(java.io.File f)
f
- input fileMethod Detail |
---|
public java.lang.String get()
String
- of this object's hashpublic byte[] getData()
|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |