Problems with AES, RSA and C++ / Java

H

horst

Hello,

first of all: sorry for my english (it is no english ;o)

we are looking for a possibility to generate a key and encrypt a
string in java with the bouncycastle-provider, the decryption must
implementet with c++
but we found nothing, that works together...
how do we save the keys, so we can use it in the c++-programm?

nun nochmal auf deutsch :eek:)

also, wir müssen ein asymmetrisches Verschlüsselungsverfahren
umsetzen.
Der Server ist in Java implementiert und soll den bouncycastle
Provider nutzen
Der Client nutzt C++
Beide Seiten laufen auch getrennt von einander sehr gut
Bloß bekommen wir die nicht zusammen... wie speichert man den Key und
bekommt diesen dann in das andere Programm? Das Problem liegt nicht in
der Art der Speicherung (DB, File..) sondern in dem Typen... bei
bouncycastle bekomme ich es nicht mal hin, den in einen, vom
c++programm erwarteten hex-wert zu konvertieren
der key ist viel kürzer als erwartet...

viele verzweifelte grüße
horst
 
M

Mike Hewson

horst said:
Hello,

first of all: sorry for my english (it is no english ;o)

close enough. :)
we are looking for a possibility to generate a key and encrypt a
string in java with the bouncycastle-provider,

As per MenInBlack - "Interesting job you guys have" :)
the decryption must
implementet with c++
but we found nothing, that works together...
how do we save the keys, so we can use it in the c++-programm?

Err... write the keys to a file, then let the C++ ( part of the )
program pick it up from there?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top