Smugrik
Smugrik

Reputation: 850

Library for working with SHA 256 hash in ActionScript

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 Script, I'd welcome that too.

Thanks for any suggestion

Upvotes: 1

Views: 2027

Answers (3)

Smugrik
Smugrik

Reputation: 850

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)

Upvotes: 0

average dev
average dev

Reputation: 1118

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

Upvotes: 0

Marty
Marty

Reputation: 39456

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

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

Upvotes: 2

Related Questions