Given a pre-saved generated Gravatar image in high resolution, is it possible to get original MD5 hash from it?
Given a pre-saved generated Gravatar image in high resolution, is it possible to get
Share
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.
The algorithm Gravatar uses to generate images is not publicly available and I doubt they will reveal their secrets here. Even in the unlikely case one can reconstruct it, it could change any second, making your solution temporary, at most.
However, what would you want to do with the hash corresponding to an image? As you cannot get information out of that (by all assumptions of cryptography, although MD5 in particular is not so secure anymore), the only thing I could image doing with it is comparing it to another given hash to see if the underlying email addresses/URLs/whatever are equal. Yet, this can be easily achieved “the other way round”: given an email, get the corresponding Gravatar image (by applying MD5 and querying for the image like in this answer) and compare it to your given Gravatar. If they are equal pixel-by-pixel, chances are very high you got the corresponding email, otherwise not.