def public_key_to_xrb_address(public_key):
if not len(public_key) == <NUM_LIT:32>:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>padded = b'<STR_LIT>' + public_key<EOL>address = b32xrb_encode(padded)[<NUM_LIT:4>:]<EOL>checksum = b32xrb_encode(address_checksum(public_key))<EOL>return '<STR_LIT>' + address.decode('<STR_LIT:ascii>') + checksum.decode('<STR_LIT:ascii>')<EOL>
Convert `public_key` (bytes) to an xrb address

>>> public_key_to_xrb_address(b'00000000000000000000000000000000')
'xrb_1e3i81r51e3i81r51e3i81r51e3i81r51e3i81r51e3i81r51e3imxssakuq'

:param public_key: public key in bytes
:type public_key: bytes

:return: xrb address
:rtype: str