def address_checksum(address):
address_bytes = address<EOL>h = blake2b(digest_size=<NUM_LIT:5>)<EOL>h.update(address_bytes)<EOL>checksum = bytearray(h.digest())<EOL>checksum.reverse()<EOL>return checksum<EOL>
Returns the checksum in bytes for an address in bytes