45d7ac72e76f242b20b77b9bf9bf9d5915894e669a24e6c6 十六进制字节码 编码base64 python脚本
import base64
hash_value = b'\x45\xd7\xac\x72\xe7\x6f\x24\x2b\x20\xb7\x7b\x9b\xf9\xbf\x9d\x59\x15\x89\x4e\x66\x9a\x24\xe6\xc6'
b64encode_hash = base64.b64encode(hash_value)
b64encode_hash_str = b64encode_hash.decode('utf-8')
print(b64encode_hash)
print(b64encode_hash_str)
RdescudvJCsgt3ub+b+dWRWJTmaaJObG base64字符串 解码base64 至16位十六进制字节码 python脚本
import base64
encoded_hash = "RdescudvJCsgt3ub+b+dWRWJTmaaJObG"
bytes_hash = base64.b64decode(encoded_hash)
print(bytes_hash)
print(bytes_hash.hex())