Pregunta

I have a small problem. In fact, I have a string crypted with the PHP function crypt(), with only one parameter (without the salt parameter). I would like to know if it is possible to decrypt the password if it was crypted that way?

Thank you in advance!

¿Fue útil?

Solución

No, this is impossible, because simply crypt() is a One-way string hashing.

You can, however, use brute force but it will be too bad if the password is lengthly...

Otros consejos

Function crypt() uses a one-way algorithm, there is no decrypt function.

Well, crypt returns the digest of a hash algorithm which by design can't be reversed. Whether or not you posses the salt is irrelevant in this case.

You can try online Rainbow Tables like those at CrackStation to possibly look the hash up. Your only other alternative is to brute force the hash.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top