We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d42e582 commit 4c0a31fCopy full SHA for 4c0a31f
Lib/antigravity.py
@@ -12,6 +12,6 @@ def geohash(latitude, longitude, datedow):
12
13
'''
14
# https://xkcd.com/426/
15
- h = hashlib.md5(datedow).hexdigest()
+ h = hashlib.md5(datedow, usedforsecurity=False).hexdigest()
16
p, q = [('%f' % float.fromhex('0.' + x)) for x in (h[:16], h[16:32])]
17
print('%d%s %d%s' % (latitude, p[1:], longitude, q[1:]))
0 commit comments