public class MD5
extends java.lang.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 java.lang.String Digest(byte[] dataToHash)
public java.lang.String digest(byte[] dataToHash)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.