我正试图将加密字符串从一个设备发送到另一个设备。第一个(使用Swift)使用RNCryptor加密字符串并将其发送(作为字符串)。如何使用RNCryptor在Python中解密这个加密字符串?你知道吗
我试图用RNCryptor提供的正常解密方法解密加密的字符串,但它说字符串是“坏数据”。你知道吗
cryptor = rncryptor.RNCryptor()
decrypted_data = cryptor.decrypt(code.data, password)
# -> ERROR: bad data (code.data is a string)
目前没有回答
相关问题 更多 >
编程相关推荐