title: Reliable implementation of PBKDF2-HMAC-SHA256 for JAVA
body: <p><strong>UPDATED 2019: Bouncycastle now support PBKDF2-HMAC-SHA256 since <a href="https://github.com/bcgit/bc-java/commit/c434e5e60e72179f9dc984cd0171564c091f5fba" rel="noreferrer">bouncycastle 1.60</a></strong></p>
  
  <hr>
  
  <p>Is there any reliable implementation of PBKDF2-HMAC-SHA256 for JAVA?</p>
  
  <p>I used to encrypt using bouncycastle but it does not provide PBKDF2WithHmacSHA256'.</p>
  
  <p>I do not want to write crypto module by myself.</p>
  
  <p>Could you recommend any alternative library or algorithm (if i can stick with bouncycastle)</p>
  
  <p>(here are the algorithms that bouncycastle supports)
  <a href="http://www.bouncycastle.org/specifications.html" rel="noreferrer">http://www.bouncycastle.org/specifications.html</a></p>