A
A
asdasdqwe2021-12-31 07:35:05
PHP
asdasdqwe, 2021-12-31 07:35:05

OpenSSL vs password_hash?

How is OpenSSL different from bcrypt?
Why is password_hash (bcrypt) recommended for passwords?

Isn't the principle the same

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dr. Bacon, 2021-12-31
@asdasdqwe

OpenSSL is a library with a lot of cryptographic stuff.
bcrypt is a "special" hash for passwords based on the blowfish cipher.
You're comparing warm to soft.

M
Mylistryx, 2021-12-31
@Mylistryx

In addition to the answer of Dr. Bacon
Now it is recommended to use not bcrypt, but Argon 2
https://stackoverflow.com/questions/47602044/how-d...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question