Re: encrypting and signing
From: Shaun Wilde (shaun_wilde_at_nospam.nospam)
Date: 04/08/05
- Previous message: TW: "Re: prevent local security policy override"
- In reply to: John Grandy: "encrypting and signing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 8 Apr 2005 20:58:43 +0100
Hi John
I am not sure a second public/private key would be used.
To sign a document you encypt the hash of the document using your private
key.
Then if someone wishes to check they would also calculate the hash and then
use
your public key to decrypt your previously encrypted has and compare the
two.
The only time I have used two public-private key pairs is in a key exchange
over
an insecure channel - though there are other ways.
"John Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:OHCNtQ8OFHA.3704@TK2MSFTNGP12.phx.gbl...
> I understand the use of public/private keys for encrypting. Could someone
> explain to me how a second public/private key pair is used for signing?
> Thanks.
>
>
- Previous message: TW: "Re: prevent local security policy override"
- In reply to: John Grandy: "encrypting and signing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]