En curso

RSA encryption between jQuery/JavaScript and C++

We need C/C++ code and compatible jQuery/JavaScript code that will work together to enable RSA-encrypted communication between a Microsoft C++ executable and a web client. The C/C++ code must compile under Visual Studio 2008, possibly using MFC but with no dependency on .NET. Our application will work as follows:

- JS sends an Ajax request to the EXE asking for an RSA public key.

- EXE creates a public/private key pair, remembers the private key, and returns the public key as the Ajax response.

- JS uses the returned public key to encrypt a password and sends the encrypted password to the EXE via a second Ajax request.

- EXE decrypts the password using its stored private key, then validates the password and returns VALID or INVALID to the JS.

We have no problem implementing the Ajax communication and having the EXE manage a map of stored keys and pending requests. But we haven't figured out how to write a matching pair of RSA routines in C/C++ and JavaScript that will work together. Specifically, we need:

1. C or C++ code that creates a public/private key pair for RSA.

2. JavaScript that uses the public key exactly as created by the C++ to encrypt a string.

3. C or C++ that decrypts the string sent by the JS using the corresponding private key that it created.

Obviously, the JS and C/C++ code have to work together. When the EXE decrypts the password using the private key it created, the result must match the original string that JS encrypted using the public key that the EXE sent it.

Best would be a simple C++ project and web page that interact this way - C++ creates keys, JS encrypts, C++ decrypts, and the result matches the original string.

Thanks,

-Steve

Habilidades: Programación en C, Javascript, Seguridad web

Ver más: jquery rsa, rsa jquery, javascript rsa, jquery encryption, jquery rsa encryption javascript, jquery rsa encryption public key, javascript rsa encrypt, javascript encryption, the string problem, string matching problem, string matching in c, string in c programming, string c programming, pair programming, matching string, map string, map in c, c programming string, c map programming, best web studio, microsoft mfc, the c, string matching, rsa, programming c/c++

Información del empleador:
( 4 comentarios ) Newton, United States

ID de proyecto: #5074750

Adjudicado a:

andreygalysh

Hi! I believe I have got something like what you try to get working. Here is my code: [url removed, login to view] I think it will be better to use microsoft CryptoAPI on server side an Más

$300 USD en 3 días
(8 comentarios)
4.4

9 los freelancers están ofertando un promedio de $641 para este trabajo.

mtech2009

hi, windows programming expert hear. one thing i need to clarify is , what is your JS host (ie where is your JS script runs ?) is it seperate process ( ex: browser hosted application ) or standard browser ? -mTe Más

$1000 USD en 3 días
(18 comentarios)
5.6
JeffLee21

I have 8+ years of experience in C/C++/C#/Java programming. I have done similar project using cryptography before. I presume some issues. - Let me know the key length, calculating time will depend on it. If I can Más

$600 USD en 7 días
(9 comentarios)
5.0
talbayrak

Hi, Let me complete this project in one day. Thank you. .

$750 USD en 1 día
(5 comentarios)
4.3
andyportmen

I think I can do this based on my previous experience on RSA encryption. I am not yet 100% sure though. Is JS part for a specific browser or general (you want it to work in all browsers)?

$666 USD en 10 días
(1 comentario)
3.3
QubixDesigns

---------------------- LET DISCUSS------------------------------------------------------ ---------------------- LET DISCUSS---------------------------------------------------------------------------- LET DISCUSS------ Más

$684 USD en 3 días
(0 comentarios)
0.0
alinaimi

Bir öneri henüz sağlanmadı

$666 USD en 2 días
(0 comentarios)
0.0
undertech

Hello I have extensive work experience on visual studio C++ application. So far I have understood you want C++ applcation whcih will communicate to browser through some communication. Then the C++ application will Más

$750 USD en 3 días
(0 comentarios)
0.0
dhavalcengg

From your requirement, I found that you need a person who has experience both in VC++ MFC, and javascript. I have strong experience in MFC as well as in JavaScript. I am interested in this. PM me so we can talk Más

$555 USD en 3 días
(0 comentarios)
0.0
CPPArchitect

Hello there, Hope you are well. Firstly,thanks for posting this project- and even more importantly, thanks for describing the REQUIREMENTS/What-you-want for this project so clearly and eloquently and word perfectly Más

$480 USD en 3 días
(0 comentarios)
0.0