Re: No way to encrypt with private key in C#?




"Marc Gravell" <marc.gravell@xxxxxxxxx> wrote in message
news:94fe0d23-3eb5-4d7c-897b-dcace1a12c18@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Really? I thought (1) was how digital signatures worked

Yes, you can *sign* with a private key (and verify with the public),
but that isn't encryption; the payload is still unencrypted, just with
the authenticating signature/hash bundled.

You can also encrypt with the private key and decrypt with the public. This
doesn't provide confidentiality, but it does work.


Marc


.



Relevant Pages

  • Re: No way to encrypt with private key in C#?
    ... Yes, you can *sign* with a private key (and verify with the public), ... but that isn't encryption; the payload is still unencrypted, ... the authenticating signature/hash bundled. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: No way to encrypt with private key in C#?
    ... but that isn't encryption; the payload is still unencrypted, ... You can also encrypt with the private key and decrypt with the public. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: RSA breaking vs. factoring
    ... affects the two possible usages of RSA both for encryption (first public, ... then private key) and for signing ... are identical to encryption, in reverse order. ... Digital signature generation takes an input message (which may be quite ...
    (sci.crypt)
  • Re: CryptAPI(encryption/decryption)
    ... It seems like you're missing the Base64 decode step when trying to decrypt ... I misspelled the Private Key as Primary Key. ... Is there any variation in the encryption format in openssl compared to ... "Dylan DSilva " wrote: ...
    (microsoft.public.pocketpc.developer)
  • Re: RSACryptoServiceProvider decrypt with public key
    ... private key which my programs could decipher using a public key I've ... But since private key encryption and public key decryption isn't ... > If Alice gives Bob her public key, ...
    (microsoft.public.dotnet.security)