|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.utils.crypto.CryptoUtils
public class CryptoUtils
The Class CryptoUtils.
Constructor Summary | |
---|---|
CryptoUtils()
|
Method Summary | |
---|---|
static java.lang.String |
md5(java.io.File file)
Md5. |
static java.lang.String |
md5(java.lang.String s)
Md5. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CryptoUtils()
Method Detail |
---|
public static java.lang.String md5(java.io.File file) throws java.security.NoSuchAlgorithmException, java.io.IOException
file
- the file
java.security.NoSuchAlgorithmException
- the no such algorithm exception
java.io.IOException
- Signals that an I/O exception has occurred.public static java.lang.String md5(java.lang.String s) throws java.security.NoSuchAlgorithmException
s
- the s
java.security.NoSuchAlgorithmException
- the no such algorithm exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |