N
N
newbieman2015-04-15 02:24:11
Yii
newbieman, 2015-04-15 02:24:11

How to display and decrypt password in yii2?

actually a subject: it is
necessary to pull out passwords of users from base.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nazar Mokrinsky, 2015-04-15
@nazarpc

They are hashed in a special way to make the procedure you want impossible.
Hashing is a one-way process.
So the short answer to your question is no.
Long answer - if some users used dictionary or fairly simple passwords + your salt was not unique for each password - then there is a chance to generate a rainbow table and pick up some of the passwords in this way. It is impossible to find out what the password actually was with 100% probability purely because of how the algorithm works, you can pick up a password that will give the same hash, but this will not necessarily be a real password.

A
Alexander Makarov, 2015-04-15
@SamDark

If the Security component was used in the project, then inside bcrypt and automatic good salt generation through a reliable source of entropy. So:
1. You can immediately exclude the use of rainbow tables.
2. Search will be long. Even in a short dictionary. bcrypt is resource intensive.
In general, almost nothing.
If Security has not been used, this may be possible.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question