Paul Gregoire
Paul Gregoire

Reputation: 9793

PBKDF2WithHmacSHA1 in AS3

I'm working on a CRAM auth system using a Flash/Flex client and a Java server (Red5). I have used the as3crypto library before, but as far as I know it does not support PBKDF2. This algorithm is suggested for password encryption by NIST so its what I want to use. Does anyone know of an AS3 compatible library with this algorithm, specifically PBKDF2WithHmacSHA1?

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

http://csrc.nist.gov/publications/nistpubs/800-132/nist-sp800-132.pdf

Upvotes: 3

Views: 505

Answers (2)

james
james

Reputation: 11

Did you try putting 'as3 PBKDF2' into google? Took me all of 10 seconds to find these two as they're the top two answers.

The first would suit your needs, but the second seems more versatile as you can specify a hash function.

http://code.google.com/p/as3-pbkdf2/

http://code.google.com/p/as3-pbkdf2-lib/

Upvotes: 1

Florent
Florent

Reputation: 12420

This one seems OK: http://code.google.com/p/as3-pbkdf2

Upvotes: 1

Related Questions