Package de.uplanet.security
Class SHA
java.lang.Object
de.uplanet.security.SHA
Deprecated.
The SHA-1 hash function is no longer considered to be secure.
It should not be used for cryptographic purposes.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SHA
public SHA()Deprecated.
-
-
Method Details
-
hash
Deprecated.Hashes the given String using the SHA-1 algorithm.Note that this method should only be used in cases where the amount of data to be hashed is limited and small. To hash data of arbitrary size use a
instead.MessageDigest
- Parameters:
p_buf
- The data to be hashed.- Returns:
- The hashed string.
-