Re: Encryption Provider with PUBLIC decryptor and PRIVATE encryptor?



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


"blesh" <ben@xxxxxxxxxxxxx> wrote in message
news:1113075720.323171.221450@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> 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
>


.



Relevant Pages

  • Re: RSACryptoServiceProvider decrypt with public key
    ... key/decrypt with the private key and encrypt with the private key/decrypt ... encrypt data and send it back to Alice. ... only she can decrypt Bob's data. ... see the public key and the encrypted data, but she could not decrypt Bob's ...
    (microsoft.public.dotnet.security)
  • Re: Copy protection for a .NET application
    ... is stored in a flash memory of the smartcard, ... Hawill you reveal a private key, that's known by just one party. ... > 2) Encrypt the secret and IV with the public key. ... > 4) HL decrypts the stringusing private RSA key stored in the lock. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Copy protection for a .NET application
    ... is stored in a flash memory of the smartcard, ... Hawill you reveal a private key, that's known by just one party. ... > 2) Encrypt the secret and IV with the public key. ... > 4) HL decrypts the stringusing private RSA key stored in the lock. ...
    (microsoft.public.dotnet.framework)
  • Re: Copy protection for a .NET application
    ... is stored in a flash memory of the smartcard, ... Hawill you reveal a private key, that's known by just one party. ... > 2) Encrypt the secret and IV with the public key. ... > 4) HL decrypts the stringusing private RSA key stored in the lock. ...
    (microsoft.public.dotnet.general)
  • Re: Encrypted files do they work for backups?
    ... Small Business IT Support ... >>If I use the administrator account, and I encrypt it EFS on a External ... >>> format you need the private key to decrypt the files ... do you have the recovery agent Encrypting File ...
    (microsoft.public.windows.server.sbs)

Loading