문제

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!

도움이 되었습니까?

해결책

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...

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top