AS3: SHa1 Encrypt


/ Published in: ActionScript 3
Save to your folder(s)

I found this awesome class online and thought I should share it. It's a really nice, lightweight way to encrypt data out of ActionScript. Here's how to use it:

import com.utils.sha1Encrypt;
var enc:sha1Encrypt = new sha1Encrypt(true);
function sha1():void { trace(sha1Encrypt.encrypt("hello")); };

URL: http://www.erikhallander.com/blog/2008/lightweight-sha1-encryption-class-for-actionscript-3.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.