开发者

Encrypted in IPHONE using Cocoa AES Rijndael and NEED to decrypt using .NET

开发者 https://www.devze.com 2023-02-17 13:36 出处:网络
I try this code aes-interoperability-between-net-an开发者_运维问答d-iphone But it always fail with Padding Exception

I try this code aes-interoperability-between-net-an开发者_运维问答d-iphone

But it always fail with Padding Exception

Iphone Decrypted Text: nvlWOYHbCvYjHHWjGVaLePLkyzT/wM//YMS6nRwqp/l7w89a1QNTPaifmV78wCXcaTv4tqY9wLuIKjyvtdCjx9lU1lNTEJQgF/CToHAE+G0=

Password: cbvde432Y12rqdazxs

Can anyone help me?


Did you use PaddingMode.PKCS7 on the .Net side and kCCOptionPKCS7Padding on the iPhone side? That should sync them up.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号