----- Original Message -----
From: "vikas aggarwal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 12, 2002 1:21 AM
Subject: Re: RSA key generation status?


| i want to use only few services of the cryptopp lib
| following are the functions
|
| void GenerateRSAKey(unsigned int keyLength, const char *privFilename,
|      const char *pubFilename, const char *seed);
| string RSAEncryptString(const char *pubFilename, const char *seed,
|      const char *message);
| string RSADecryptString(const char *privFilename, const
|      char *ciphertext);
| void RSASignFile(const char *privFilename, const
|      char *messageFilename, const char *signatureFilename);
| bool RSAVerifyFile(const char *pubFilename, const
|      char *messageFilename, const char *signatureFilename);
|
| what are the mandatory .cpp and .h files which r to be included.
|
|
| Regards,
| Vikas Aggarwal
| Project Engineer

Hello Vikass,

I build the library (both debug and release - modifying the *.dsp as required
(Microsoft Windows)), and simply include it in my project.

Clearly, "rsa.h" must be included. I think the other files are:
pkcspad.h
cryptlib.h
config.h
integer.h
secblock.h
misc.h
filters.h
simple.h
smartptr.h

Otherwise, for usage, take a look at test.cpp:

| void GenerateRSAKey(...);
Used on line 491.

| string RSAEncryptString(...);
Used on line 507.

| string RSADecryptString(...);
Used on line 520.

| void RSASignFile(...);
Used on line 530.

| bool RSAVerifyFile(...);
Used on line 538.

Jeff


Reply via email to