0

I am developing an industry-level web server that requires that all passwords be encrypted in some way.

The middle-ware for the server is Java-based. My only restriction is that I can't use API's like bCrypt for this. Can anyone suggest a way to do this?

  • 4
    "My only restriction is that I can't use API's like bCrypt for this" why? – thexacre Apr 21 '15 at 8:22
  • The company I work for has a policy against external APIs – Michael Wiggins Apr 21 '15 at 9:47
2

There are currently three accepted password hashing algorithms (note the difference between encryption and hashing!):

  • pbkdf2
  • bcrypt
  • scrypt

So you can use either of these three. PBKDF2 is the most supported. Storing passwords in a reversible way is considered bad practice.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.