Encrypted in IPHONE using Cocoa AES Rijndael and NEED to decrypt using .NET
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.
精彩评论