palAlaa
palAlaa

Reputation: 9858

what is the criteria to choose encryption algorithm for my system

I am working on a system which is going to be applied in the real environment. I need to make high security mechanism for the system, one of them is encryption for user's passwords in my database.

I prefer to use one way encryption method to two way encryption, the problem is I want to choose a good algorithm which has good performance and have reasonable reasons to convince my partners why i choose one algorithm instead of other.

Can you give me some tips for doing that?

Upvotes: 1

Views: 674

Answers (2)

malletjo
malletjo

Reputation: 1786

i don't know what kind of argument you're looking for but :

SHA is a good one-way hash functions.

http://en.wikipedia.org/wiki/Secure_Hash_Algorithm

Edit :

Upvotes: 0

LukeH
LukeH

Reputation: 269438

Don't just use a simple one-way hash.

Use something like PBKDF2 or bcrypt instead. I'm sure there will be good, free, off-the-shelf implementations available for Java (assuming that they're not already included in the JRE itself).

Upvotes: 3

Related Questions