Can anyone point me in the direction of useful Delphi examples of using
MS's CryptoAPI.

My intention is to pass an encrypted message from one application to
another. Which I plan to do as follows:
a) Generate an RSA in AppA to pass to AppB
b) In AppB Generate an IV for an RC2 encryptor 
c) In AppB Encrypt a message with RC2 using the IV
d) In AppB Encrypt the RC2 public key with RSA
e) Pass the message to AppA with the encrypted message, RC2 IV and RSA
encrypted RC2 key
f) Back in AppA decrypt the RC2 key using RSA
g) Then in AppA decrypt the message using the IV and RC2 key

I have managed to find a WinCrypt.pas file (from JEDI) for MS's
CryptoAPI but cannot make head nor tail of MS's examples which are all
in C.

I would also appreciate comments on my encryption method as I am just
getting my head around this too.

Michael Darling
Solutions Analyst/Developer
ROOM Solutions Ltd
mailto:[EMAIL PROTECTED]
*******************************************************************
CONFIDENTIALITY NOTICE/DISCLAIMER
This email and any attachments are confidential, protected by 
copyright/intellectual property rights and may be legally privileged. The 
information transmitted is intended only for the person or entity to which it 
is addressed.  If you are not the intended recipient, dissemination or copying 
of this email is prohibited.
If you have received this in error, please notify us by forwarding this email 
to the following address: [EMAIL PROTECTED] , and then delete the email 
completely from your system.
This email and any attachments have been scanned for computer viruses by a 
market leading anti-virus system. However, it is the responsibility of the 
recipient to conduct its own security measures. No responsibility is accepted 
by ROOM Solutions Limited for loss or damage arising from the receipt or use of 
this email and any attachments.
No responsibility is accepted by ROOM Solutions Limited for personal emails.
ROOM Solutions Ltd, http://www.roomsolutions.net
********************************************************************

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to