Re: Asymmetric Encryption in VBA
- From: "Jonathan West" <jwest@xxxxxxxx>
- Date: Thu, 13 Mar 2008 15:50:59 -0000
"Reto Huber" <reto.huber@xxxxxxxxxx> wrote in message news:Od3U9O1gIHA.1132@xxxxxxxxxxxxxxxxxxxxxxx
Hi everybody
I would like to encrypt a string with a public key (in Outlook), send the encrypted data to a server and decrypt the data on the server with the private key (an application server which isn't part of the problem now). Unfortunately I couldn't find an example or a description to encrypt the data with VBA and Outlook 2003 (Windows XP). There are examples for symmetric encryption but no one that shows the asymmetric encryption. Can somebody explain me how I can import the public key into the VBA Program and encrypt the data? The public key does already exist as a byte stream.
I doubt that there is publicly-available VBA-specific code for this, but there may well be VB code. Do a websearch for VB code. Ignore anything to do with VB.NET, the language is too different from VBA for any pasted code to be usable. You need to find some VB6 samples. VB6 and VBA are essentially the same core language.
--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
.
- Follow-Ups:
- Re: Asymmetric Encryption in VBA
- From: Reto Huber
- Re: Asymmetric Encryption in VBA
- References:
- Asymmetric Encryption in VBA
- From: Reto Huber
- Asymmetric Encryption in VBA
- Prev by Date: Re: MS Word Drawing Buttons via VBA
- Next by Date: How best to distribute Excel 2003 spread*** with VBA Macros?
- Previous by thread: Asymmetric Encryption in VBA
- Next by thread: Re: Asymmetric Encryption in VBA
- Index(es):