Asymmetric Encryption in VBA

R

Reto Huber

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.



Thank you in advanced for your help.



Kindest regards,

Reto
 
E

Eric Legault [MVP - Outlook]

Do you want to encrypt outgoing e-mails? There are no programming interfaces
for encryption or digital certificates or anything similar with Outlook.
 
R

Reto Huber

Hi Eric

I don't want to encrypt the emails. I would like to add a dialog to call a
website. To its URL I would like to add some parameters. These parameters
should be stored on the client side (on the clients registry) and they have
to be encrypted.
I can call some cryptographic functions of the advapi32.dll but I didn't get
the clue to use my already existing public key :-(

Kindest regards,
Reto
 
R

Reto Huber

Thank you for your help. But the dialog isn't the problem. I'll keep on
trying for the cryptography.

Kindest regards,
Reto
 

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

Top