Package weblogic.utils.encoders

Examples of weblogic.utils.encoders.BASE64Encoder


   * @param plaintext text to hash
   * @return base64-encoded hashed text
   */
  static protected String hash(MessageDigest md, String plaintext)
  {
    BASE64Encoder enc = new BASE64Encoder();
     
    return enc.encodeBuffer(md.digest(plaintext.getBytes()));
  }
View Full Code Here

TOP

Related Classes of weblogic.utils.encoders.BASE64Encoder

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.