Our PBKDF2SHA512 class is a cryptofreek.org implementation of PBKDF2. The 
java doc is copied from the cryptofreek.org post, and states that the class 
passes all the RFC 6070 test vectors. This is not technically true for 
PBKDF2SHA512 because we changed the SecretKeyFactory algorithm from 
HmacSHA1 to HmacSHA512.

There is no direct test coverage for PBKDF2SHA512. It is indirectly covered 
by the MnemonicCodeTest.

Java 8 comes with an implementation of "PBKDF2WithHmacSHA512". I've 
successfully tested this in bitcoinj as a replacement for PBKDF2SHA512.

The bitcoinj README states that the core package is limited to Java 6. 
Bitcoinj compiles in Java 8, including the core package.

I propose we update the technologies of bitcoinj core to use Java 8, so 
that we can remove PBKDF2SHA512 and use the javax.crypto implementation 
PBKDF2 with HmacSHA512.

-- 
You received this message because you are subscribed to the Google Groups 
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to