[jdev] Seeking jabber implementers for SCRAM-SHA-1 testing

Simon Josefsson simon at josefsson.org
Wed Nov 4 10:22:36 CST 2009


Simon Josefsson <simon at josefsson.org> writes:

> Simon Josefsson <simon at josefsson.org> writes:
>
>> However I cannot find any test vectors for PBKDF2 which seems bad, I'll
>> see if I can put together a document on that.
>
> Here it is:
>
> http://josefsson.org/sasl-gs2/draft-josefsson-pbkdf2-test-vectors.txt
>
> Comments?  I'll submit it to the IETF shortly.
>
> Is anyone able to reproduce the test vectors?

I was able to, using this online tool using a JavaScript implementation:

http://anandam.name/pbkdf2/

I got the same output using this Java implementation:

http://www.rtner.de/software/PBKDF2.html

jas at mocca:~$ java -jar PBKDF2-1.0.4.jar "password" 73616c74:4096:4b007901b765489abead49d926f721d0
OK
jas at mocca:~$ 

So I feel confident in the test vectors.

/Simon


More information about the JDev mailing list