Package org.jasypt.util.digest

Examples of org.jasypt.util.digest.Digester


   * Gets the 128 bit MD5 checksum for the specified String as a Hex String (consisting of 32 characters).
   * @param s String
   * @Return MD5 checksum of the specified String as a Hex String
   */
  public static String getMd5Checksum(String s) {
    Digester digester = new Digester();
    return JuStringUtils.toHexString(digester.digest(s.getBytes()));
  }
View Full Code Here


   * Gets the 128 bit MD5 checksum for the specified String as a Hex String (consisting of 32 characters).
   * @param s String
   * @Return MD5 checksum of the specified String as a Hex String
   */
  public static String getMd5Checksum(String s) {
    Digester digester = new Digester();
    return JuStringUtils.toHexString(digester.digest(s.getBytes()));
  }
View Full Code Here

TOP

Related Classes of org.jasypt.util.digest.Digester

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.