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?

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

1 Answer 1

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.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .