Hi,

> Are you also embedding the public key as well?
It is required to load both keys in dobrexor because it handles both
encryption and decryption, but I use two different executables:
client.exe and another one for building the database (let's say
build_db.exe).

I plan to #define some macro that will be used to compile just
AES_CTR_Encrypt and embed the public key for build_db.exe and will
compile just AES_CTR_Decrypt and embed just the private key in
client.exe.

(*) I reinstalled crypto552 and built it properly via the .dsw file,
reinstalled dobrexor, linked to cryptopp and rebuilt and I still get
the same crash.

One thing I neglected to mention is that I got a dreadful compiler
error, namely:
--
Compiling...
dobclass.cpp
P:\CryptoPP\dobrexor\dobclass.cpp(102) : fatal error C1001: INTERNAL
COMPILER ERROR
        (compiler file 'msc1.cpp', line 1794)
         Please choose the Technical Support command on the Visual C+
+
         Help menu, or open the Technical Support help file for more
information
Error executing cl.exe.
--

I guess it's a VC6 thing. This was my workaround:
--
CryptoPP::FileSink* fs = new CryptoPP::FileSink(pubFilename);
CryptoPP::StringSource(pubString, true, fs);
CryptoPP::StringSource(priString, true, new CryptoPP::FileSink
(privFilename));
--

Later I found out that this is the recommended solution.
I'll install VS2008 tomorrow (it's really late night right now) and
see if I get a better result.

> Sounds like a fun little project and very useful too.
I didn't even plan on distributing it - it was just a nice way to
challenge myself in various fields of programming.
Today it's my baby :)

Good night.

    Avi.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to