How can i send a text and its sign in a url?
Hallo:
I want to send a text and it's sign in a url. Ex: Suppose I want to send "This is a text" and it's sign in the way: wget http://server.domain/process?text=This%20is%20a%20text&sign=TextSign with TextSign being the sign of the text to send (creating the sign with the privatekey). As the server has the public key of the client, he can know if that text has been sent by the client. What I'm doing now is: - Create the md5sum of "This is a text" (generates a binary file). - Encode the sign in base64 (generates a text file in base64) The problem is that some characters are not send in base64 (Ex: +,/) in the url. Can any tell me how can I sing text (using private key) and send the text and the sign in the url. And of course, how can decode it using the public key... Thanks. |
You can't sign a URL. That has to be in plain text, or you'll get HTTP 404 - not found.
What you apparently want to do is use the https transport to get a file. |
Also, I think that transmitting both an encrypted message and its key in the same message would pretty much invalidate the entire point of encrypting transmissions.
|
All times are GMT -5. The time now is 06:45 PM. |