Skip to content Skip to sidebar Skip to footer

How To Recover The Binary Stream(original Form) From Radix 64 Encoding

how to get the actual public key i.e its binary form i.e without radix 64 conversion .i need to extract the public key from radix64 encoding .the pgp server gives me the key in rad

Solution 1:

import base64

decoded_bytes = base64.b64decode(ascii_chars)

Solution 2:

base64_encoded_data.decode('base64')

Post a Comment for "How To Recover The Binary Stream(original Form) From Radix 64 Encoding"