Encryption Provider with PUBLIC decryptor and PRIVATE encryptor?

B

blesh

I have a need to encrypt information with a private key and decrypt it
with a public key. As odd as that sounds, that's what I need. I need
to make sure the public can't duplicate the encryption. Is there an
asynchronous encryption provider that does just this? I tried RSA, but
it does the opposite.

Any advice/help is greatly appreciated!

Thanks,
Ben
 
D

Dale Preston

Are you persisting the private key or generating it on a session basis?

If you create a new public/private key pair each program session, and your
program doesn't provide any interface for encrypting on the end where you
want to not encrypt, wouldn't you accomplish what you want RSA?

I am making an assumption here, since you haven't provided much information,
but it looks as though you're concerned about spoofing by the person who
decrypts your data; for example, encrypting a modified document and passing
it to others. If that is the case, sign the message as well as encrypt it
and then they could create a new encrypted message but could not reproduce
the signature.

HTH

Dale Preston
MCAD, MCDBA, MCSE
 

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