Skip to content

Instantly share code, notes, and snippets.

@categulario
Created June 27, 2019 20:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save categulario/7e9d67120e5ac377bffc01422d3cdfb0 to your computer and use it in GitHub Desktop.
Save categulario/7e9d67120e5ac377bffc01422d3cdfb0 to your computer and use it in GitHub Desktop.
Suma 39 y 47
import hashlib
h = hashlib.new('md5')
h.update(b"39")
new = (h.hexdigest() + '+47').encode()
h = hashlib.new('md5')
h.update(new)
print(h.hexdigest()[2:4])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment