from django.contrib.auth.models import User u = User.objects.get(username='test') user.password u'sha1$c6755$66fc32b05c2be8acc9f75eac3d87d3a88f513802
Is reversing this password encryption possible?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Sha-1 is a one-way hash. It cannot be reversed except for using a brute force attack which will take millions of years.
There are some online databases that let you reverse the hash of common words/conbinations of words. However, django adds “salt” to the password before it computes the hash, so you cannot reverse django passwords.
That’s why a hash is used. Nobody can find out your password, not even sys admins 🙂