Package de.uplanet.security
Class MD5
- java.lang.Object
-
- de.uplanet.security.MD5
-
@Deprecated @Scriptable public final class MD5 extends Object
Deprecated.The MD5 hash function is not considered to be secure. It should not be used for cryptographic purposes.
-
-
Constructor Summary
Constructors Constructor Description MD5()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static String
hash(byte[] p_buf)
Deprecated.Hashes the given String using the SHA-1 algorithm.
-
-
-
Method Detail
-
hash
public static String hash(byte[] p_buf)
Deprecated.Hashes the given String using the SHA-1 algorithm.- Parameters:
p_buf
- The data to be hashed.- Returns:
- The hashed string.
-
-