How can i send a text and its sign in a url?
I want to send a text and it's sign in a url.
Suppose I want to send "This is a text" and it's sign in the way:
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...
Last edited by Felipe; 09-01-2011 at 06:59 PM.