download this file: http://www.kirupa.com/forum/attachment.php?attachmentid=46136&d=1208980599
unzip the archive, put them into my package, and use it as:
import com.ibeagle.vincezhang.edirectory.utils.MD5;
this._clientNo = MD5.hash(this._confXML.clientNo + SECRET_STRING);
The "SECRET_STRING" is a predefined constant string, it is a key that should be kept confidential.
REFs:
http://www.kirupa.com/forum/showthread.php?295966-MD5-in-AS3.0
http://gsolofp.blogspot.com/2006/01/actionscript-3-md5-and-sha1.html