在逆向过程中,经常会遇到base64编码的数据,那就来了解一下base64的特点吧!
这些方法只是一种快速检查,不能保证100%准确
import base64
data = b"Hello, World!"
# 编码
encode_data = base64.b64encode(data)
print("加密后的字符串:", encode_data)
# 解码
decode_data = base64.b64decode(encode_data)
print('解密密后的字符串:', decode_data)