Unable to use rsa encryption dll in Crypto++ ?

Asked By 10 points N/A Posted on -
qa-featured

 

Hello fellows,

I am a newbie working on Crypto++ Version 5.5.1and.NET Framework 2.0.I am trying to create RSA encryption dll.It shows exception 'libraries not loading’. Do you know how to tackle this problem?

 Reply please.

SHARE
Best Answer by Becnel Sabrina
Best Answer
Best Answer
Answered By 0 points N/A #195748

Unable to use rsa encryption dll in Crypto++ ?

qa-featured

1.   Compile Crypto++ 5.5.1 either as a static lib or as a DLL using Visual Studio 2005 with dynamically linked standard multi-threaded libraries (/MD or /MDd)

2.   Create a native wrapper class which provides a simple interface to Crypto++ and encrypts or decrypts a byte array of any size

3.   Create a managed C++ class which encapsulates the native wrapper class and converts .NET managed types to native types (and vice versa) and then calls the

4.   Crypto++ wrapper class methods

A simple console tester application tests the following combinations of Interop:

1.   Encrypt data using .NET Cryptography services and decrypt using .NET Cryptography services

2.   Encrypt data using Crypto++ and decrypt using Crypto++

3.   Encrypt data using .NET Cryptography services and decrypt using Crypto++   

4.   Encrypt data using Crypto++ and decrypt using .NET Cryptography services
 
I have only explored using RSA PKCS#1 encryption in Crypto++, although I imagine you could use this article as a basis for creating a wrapper class for any aspect of Crypto++. Wrapping the whole of Crypto++ is something I don't have time for at the moment, although I'd be open to the idea of creating an open source project which does. If you are interested in this, I would suggest looking at Mono's cryptography as it will not be dependent on Microsoft's CryptoAPI.
 

 

 

 

 

Answered By 0 points N/A #195750

Unable to use rsa encryption dll in Crypto++ ?

qa-featured

Hello!

I am very glad to receive your interesting problems. I am giving the illustrative codes to perform rsa-encryption-dll.

 

Firstly you have to construct a user defined function. There should be a local variable.

You may create the conditional statement if the local variable is zero then it will print some notification. Then the program will terminate.

You can define other local variables to store your required data.

The required code is attached to this .I hope this will be helpful

Regards

Shifflett Laurel          

Related Questions