public class MD5 extends Object
EXAMPLE 1: Static usage import org..alfresco.util.MD5; String x = MD5.Digest("hello".getBytes()); EXAMPLE 2: Per-thread non-static usage import org..alfresco.util.MD5; MD5 md5 = new MD5(); ... String x = md5.digest("hello".getBytes());
Constructor and Description |
---|
MD5()
Constructor for use with the unsynchronized/non-static method
"digest" method.
|
public MD5()
public static String Digest(byte[] dataToHash)
public String digest(byte[] dataToHash)
Copyright © 2005–2015 Alfresco Software. All rights reserved.