C & C & C# I need to decrypt Data with Standard C# AesCryptoServiceProvider which was encrypted with Bouncy Castle AesFastEngine on the Java side. (To decrypt th, ID #4360361. (To decrypt the Data using the c# implementation of Bounca Castle is no problem) Is there a way to do this? How to encrypt and sign the file with Cyrillic.
An easy to use AES and RSA cryptography library written in C#, built on the Bouncy Castle API. With this library you can quickly and easily incorporate AES-256 and RSA encryption into your project. The C# and Java version of these projects are the same at the API level.
If you develop in both Java and C# then this project and the Java project are worth taking a look at. They share the same API. The Unit Tests and Examples are the same between them as well to illustrate their similarity.
##Key StructureBouncy Castle saves PEM keys in PKCS#1 format but it can read PEM keys in PKCS#8 format as well.
##LicenseThe license, including licenses for dependent software, can be read here.
##External DependenciesThis library is dependent on the following jar files in Bouncy Castle C# library Version 1.7 which are included in this project.
- BouncyCastle.Crypto.dll
##CompilingThis project can be compiled in Xamarin or Visual Studio 2012. To run the Unit Tests in Visual Studio 2012 you must install the NUnit Test Adapter in the Tools / Extensions and Updates menu. The Unit Test should already work in Xamarin.
Either download the zip file or clone the repository to obtain the full project source. After you compile the source you can find the following files in Cryptography/bin/Release which you can copy into your project:
- BouncyCastle.Crypto.dll
- Cryptography.dll
##ExamplesFor comprehensive examples either look at the Nunit Test or examine the Examples project included in this distribution.
####Example 1
Adding AES256 encryption to your project can be as simple as this: