How do I decrypt an AES key using C# Bouncy Castle that was encrypted using Libgcrypt raw flag
问题 Summary: I am attempting to decrypt (and eventually encrypt and return) files that are AES128 encrypted. The AES key is encrypted using libcrypt's RSA provider. When I attempt to decrypt the AESKey on Windows 7 using C# & BouncyCastle a "block truncated" error is thrown when I call "ProcessBlock". I have tried converting the data to BigEndian and I'll get a "Not a valid RSA exponent" when I try to create the RsaKeyParameters. The encryption was done using libgcrypt 1.2x on a linux system. I