Re: Win2K CryptAPI : Way to encrypt w/ Pvt and decrypt w/ Pub key ?
From: Chris Kushnir (ckushni1_at_san.rr.com)
Date: 05/30/04
- Next message: Eugene Mayevski: "Re: Win2K CryptAPI : Way to encrypt w/ Pvt and decrypt w/ Pub key ?"
- Previous message: Eugene Mayevski: "Re: Win2K CryptAPI : Way to encrypt w/ Pvt and decrypt w/ Pub key ?"
- In reply to: Eugene Mayevski: "Re: Win2K CryptAPI : Way to encrypt w/ Pvt and decrypt w/ Pub key ?"
- Next in thread: Eugene Mayevski: "Re: Win2K CryptAPI : Way to encrypt w/ Pvt and decrypt w/ Pub key ?"
- Reply: Eugene Mayevski: "Re: Win2K CryptAPI : Way to encrypt w/ Pvt and decrypt w/ Pub key ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 30 May 2004 20:47:30 GMT
Eugene,
> I would like my server to be able to broadcast small messages to connected
> clients. I was hoping to have the server encrypt the message with it's
> private exchange key so the clients could decrypt with the servers public
> exchange key to verify the message source as being the server.
>> This is called signing and there are several functions in CryptoAPI to do
this.
Yes, I realized the sign/verify in the CryptAPI signed with private,
verified with public. The problem is that the verify (as i read it) only
tells you yes or no, there is no way to recover the signed data. I
understand that the general way to do this is to hash the message, then sign
the hash. As my messages are generally less than 32 bytes I was hoping I
could just encrypt the entire message.
thanks,
...cmk
- Next message: Eugene Mayevski: "Re: Win2K CryptAPI : Way to encrypt w/ Pvt and decrypt w/ Pub key ?"
- Previous message: Eugene Mayevski: "Re: Win2K CryptAPI : Way to encrypt w/ Pvt and decrypt w/ Pub key ?"
- In reply to: Eugene Mayevski: "Re: Win2K CryptAPI : Way to encrypt w/ Pvt and decrypt w/ Pub key ?"
- Next in thread: Eugene Mayevski: "Re: Win2K CryptAPI : Way to encrypt w/ Pvt and decrypt w/ Pub key ?"
- Reply: Eugene Mayevski: "Re: Win2K CryptAPI : Way to encrypt w/ Pvt and decrypt w/ Pub key ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|