Hey @RGJ Just tried the python example code, mentioned here: Converting short upload URLs to full URLs - #2 by michaeld
But it seems it’s not decoding correctly.
This is the code I ended up trying. It should decode to “77f164006403e10d7d40143d525f8a5d69390baf” but I get “77f13112951f458abf39d5e480c59eba10c97f31”, any idea why this might be the case? I’m not that experienced with this kinda stuff
import base62
input = "h73zkifccxqjtevvuahwq9hefkt"
expected = "77f164006403e10d7d40143d525f8a5d69390baf"
decoded = hex(base62.decode(input, base62.CHARSET_INVERTED))[2:].zfill(40)
print('decoded: ' + decoded)
if expected != decoded:
print('not decoded correctly')
else:
print('decoded correctly')