public/private key encryption and caesar cipher
Posted: Wed Apr 14, 2010 3:50 pm
Hi,
Wasn't sure whether this shouldve gone in securty or here, so put it here since I'm stuck on the basics even. I am new to encryption and have read a lot but still don't know what I'm doing. Just to clarify when using the keys is it just for a handshake between the client and server to allow access or does it affect the caesar cipher as well? because after looking at some examples I still don't have much of an idea.
I have seen many examples of caesar cipher encryption/decryption but none of them use a public/private key with it. I am supposed to use the key (randomised one) along with the caesar cipher but am not sure how to implement it.
For example if I had the outcome of a key of 32 would the client and server just say its okay to go ahead or would it affect the caesar cipher which I would have shifting by 1 as in a=b b=c c=d and a sample caesar value would be hppe for good. When encrypting from the client to the server do I just send 'hppe' after both the client and server agree on the key value of 32, or do I use the key value of 32 and change the caesar shifted value of hppe even more?
Wasn't sure whether this shouldve gone in securty or here, so put it here since I'm stuck on the basics even. I am new to encryption and have read a lot but still don't know what I'm doing. Just to clarify when using the keys is it just for a handshake between the client and server to allow access or does it affect the caesar cipher as well? because after looking at some examples I still don't have much of an idea.
I have seen many examples of caesar cipher encryption/decryption but none of them use a public/private key with it. I am supposed to use the key (randomised one) along with the caesar cipher but am not sure how to implement it.
For example if I had the outcome of a key of 32 would the client and server just say its okay to go ahead or would it affect the caesar cipher which I would have shifting by 1 as in a=b b=c c=d and a sample caesar value would be hppe for good. When encrypting from the client to the server do I just send 'hppe' after both the client and server agree on the key value of 32, or do I use the key value of 32 and change the caesar shifted value of hppe even more?