Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>RFC2898 is the official name for PBKDF2 (Password Based Key Derivation Function). </p> <p>This question seems to use the <code>SecretKeyFactory</code> class for PBKDF2. </p> <p><a href="https://stackoverflow.com/questions/2375541/password-verification-with-pbkdf2-in-java">Password Verification with PBKDF2 in Java</a></p> <p>If you cannot find any implementation that you are satisfied with, I suggest you take a look at <a href="https://stackoverflow.com/questions/3210795/pbkdf2-in-bouncy-castle-c-sharp">my question</a> where I used a few classes from BouncyCastle (for C#, but should work for Java) and created the algorithm. I had to create this for C# because there was no <code>Rfc2898DeriveBytes</code> for the .NET Compact Framework.</p> <p><a href="https://stackoverflow.com/questions/8674018/pbkdf2-with-bouncycastle-in-java">This question</a> should definitely help you too!</p> <p>You can also find an implementation <a href="http://www.jmedved.com/2010/05/java-rfc2898derivebytes/" rel="nofollow noreferrer">here</a> that was done by someone who stumbled across your same problem.</p> <p>Also to answer the second part of your question,</p> <p>Rijndael doesn't differ much from AES. To quote this <a href="http://blogs.msdn.com/b/shawnfa/archive/2006/10/09/the-differences-between-rijndael-and-aes.aspx" rel="nofollow noreferrer">webpage</a></p> <blockquote> <p>Namely, Rijndael allows for both key and block sizes to be chosen independently from the set of { 128, 160, 192, 224, 256 } bits. (And the key size does not in fact have to match the block size). However, FIPS-197 specifies that the block size must always be 128 bits in AES, and that the key size may be either 128, 192, or 256 bits.</p> </blockquote> <p>Rijndael algorithm was chosen by the NIST to be the Advanced Encryption algorithm.</p> <p>So you can use the <a href="https://stackoverflow.com/questions/992019/java-256-bit-aes-password-based-encryption">AES algorithm in Java</a>.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload