开发者

Equivalent of md5(uniqid(mt_rand())) in as3?

W开发者_如何学JAVAhat is the equivalent of md5(uniqid(mt_rand())) in actionscript 3.0?


In addition to the md5 library from as3corelib, you'll want a guid library like this one at rgbeffects

import com.adobe.crypto.MD5;
import com.rgbeffects.GUID;

var hash:String = MD5.hash(GUID.create());


ActionScript doesn't have an md5 encryption method for whatever reason. However you can find several AS libraries that include md5. Try as3corelib for starters.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜