hashtoalgorand

Algorand public key to address calculator

This page allows you to calculate a public Algorand address of a wallet by having its public key.
Just paste the address in the box below and then click "Calculate Address".

How can I check the calculations myself?

You can run the script locally with python:

import sys
import base64
from Cryptodome.Hash import SHA512


addr_bytes = sys.argv[1]
addr_bytes = addr_bytes.encode('utf-8')
chksum = SHA512.new(truncate="256")
chksum.update(addr_bytes)
chksum = chksum.digest()	
chksum = chksum[-4:]
addr = base64.b32encode(addr_bytes+chksum)	
print(addr.decode().strip("="))


exit()