Re: No way to encrypt with private key in C#?
- From: "Ben Voigt [C++ MVP]" <rbv@xxxxxxxxxxxxx>
- Date: Mon, 4 Feb 2008 11:24:05 -0600
"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
.
- Follow-Ups:
- Re: No way to encrypt with private key in C#?
- From: Sin Jeong-hun
- Re: No way to encrypt with private key in C#?
- From: Marc Gravell
- Re: No way to encrypt with private key in C#?
- References:
- No way to encrypt with private key in C#?
- From: Sin Jeong-hun
- Re: No way to encrypt with private key in C#?
- From: Alun Harford
- Re: No way to encrypt with private key in C#?
- From: Jesse McGrew
- Re: No way to encrypt with private key in C#?
- From: Marc Gravell
- No way to encrypt with private key in C#?
- Prev by Date: Re: Getting HDD Serial of C drive.
- Next by Date: Re: ftp request through ftp proxy
- Previous by thread: Re: No way to encrypt with private key in C#?
- Next by thread: Re: No way to encrypt with private key in C#?
- Index(es):
Relevant Pages
|