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

    Modifier and Type
    Method
    Description
    static String
    hash(byte[] p_buf)
    Deprecated.
    Hashes the given String using the SHA-1 algorithm.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MD5

      public MD5()
      Deprecated.
  • Method Details

    • 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.