One-Way Password Encryption Algorithm

What is the most secure one type encryption algorithm for password encryption?

MD5 and SHA (1..512) are often used, but they are designed for speed, which is bad for preventing brute force attacks on encrypted passwords.

The algorithm should not be too exotic, so it can be used with common programming languages ​​/ runtimes such as Java, .NET or Python.

+4
source share
3 answers

BCrypt or SCrypt . What for? because they are designed to be slow, not fast.

see also: How to use hash passwords safely? at security.stackexchange.com

+8
source

Hashing alone will not save you, as you can read in other related posts.

bcrypt and scrypt are really good choices, but most languages ​​are not supported. Although it really shouldn't be a problem to find a library that supports them. In addition to these two, you can use password-based encryption (PBE) as described in PKCS # 5 , ideally with PBKDF2. There should be built-in PBE support almost anywhere.

+2
source

All Articles