JavaScript实现md5加密

使用MD5加密的方法:
下载md5.js文件,在网页中引用该文件:

<script type="text/javascript" src="md5.js"></script>

在你需要使用MD5加密的地方如此调用:

<script type="text/javascript" >
  hash = hex_md5("test");
</script>

http://pajhome.org.uk/crypt/md5/

posted @ 2011-08-24 23:54  Asharp  阅读(17543)  评论(0编辑  收藏  举报