Secure Password Encryption in Java

  • Posted on: 5 July 2014
  • By: oon

What is secure algorithm to store password using java programming language?

we learned about creating secure hashes for password, and using salt to make it even more secure. But the problem today is that hardwares have become so much fast that any brute force attack using dictionary and rainbow tables, any password can be cracked in some less or more time.[1]

one of the answer is using PBKDF2 algorithm, in Java implementation of the algorithm is PBKDF2WithHmacSHA1.

[1]http://howtodoinjava.com/2013/07/22/how-to-generate-secure-password-hash...
[2]http://java.dzone.com/articles/secure-password-storage-lots
[3]http://gwtappengine.blogspot.com/2010/02/encrypting-user-passwords.html
[4]http://www.devbistro.com/articles/Java/Password-Encryption
[5]http://www.jasypt.org/howtoencryptuserpasswords.html

Tags: 

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.