se.unlogic.standardutils.crypto
Class EncryptionUtils
java.lang.Object
se.unlogic.standardutils.crypto.EncryptionUtils
public class EncryptionUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EncryptionUtils
public EncryptionUtils()
hash
public static String hash(String string,
String algorithm)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
hash
public static String hash(String string,
String algorithm,
String encoding)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
hash
public static String hash(File file,
String algorithm)
throws IOException
- Throws:
IOException
hash
public static String hash(File file,
String algorithm,
ProgressMeter progressMeter)
throws IOException
- Throws:
IOException
mysqlPasswordHash
public static String mysqlPasswordHash(String string)
Copyright © 2011. All Rights Reserved.