开发者

Library for working with SHA 256 hash in ActionScript

开发者 https://www.devze.com 2023-03-27 21:37 出处:网络
I\'m looking for an easy way to compute SHA 256 in Action Script on the BlackBerry PlayBook. I saw the mx.data.crypto.SHA256 class that seems fit for the purpose but it looks like it is not available

I'm looking for an easy way to compute SHA 256 in Action Script on the BlackBerry PlayBook.

I saw the mx.data.crypto.SHA256 class that seems fit for the purpose but it looks like it is not available on the standard PlayBook libraries, or do I need to import any specific SWF?

More generaly, if you know of an easy-to-use cryptographic library for Action Scrip开发者_StackOverflow社区t, I'd welcome that too.

Thanks for any suggestion


http://code.google.com/p/as3crypto/

Just download the sources you need and import them where required.


Check maybe http://www.blooddy.by/en/crypto/benchmark/ is faster.


I also found the Flame library: http://code.google.com/p/flame/

Hash algorithms: MD5, RIPEMD-160, SHA-1, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512)

Keyed-hash algorithms: HMAC

Symmetric algorithms: AES, Rijndael, RC4

Asymmetric algorithms: RSA, Elliptic Curve Diffie-Hellman (ECDH)

0

精彩评论

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