Sample Caesar Cipher

mOeeOm

Platinum Member
Dec 27, 2004
2,588
0
0
Anyone know a link to a sample caesar cipher code I can look at? I need to write a code using the caesar cipher, I want something to look at to make sure I'm doing it right.

Thanks.
 

mOeeOm

Platinum Member
Dec 27, 2004
2,588
0
0
Originally posted by: kamper
Have you ever run across a handy little tool called google?

Please don't reply to anyone like that man, it frustrates the person after they have used google for hours. Please.
 

mOeeOm

Platinum Member
Dec 27, 2004
2,588
0
0
Ahhhhhhh my bad, needed it for C, not java or anything. Sorry.

I found something though.
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
Originally posted by: mOeeOm
Originally posted by: kamper
Have you ever run across a handy little tool called google?

Please don't reply to anyone like that man, it frustrates the person after they have used google for hours. Please.
Like the others in this thread, I hit several potential matches on the first page of my first query. Therefore it was natural to assume that you hadn't done any googling. Whenever you ask for links to things, it's generally a good idea to mention that you have been trying unsuccessfully.
 

mOeeOm

Platinum Member
Dec 27, 2004
2,588
0
0
Originally posted by: kamper
Originally posted by: mOeeOm
Originally posted by: kamper
Have you ever run across a handy little tool called google?

Please don't reply to anyone like that man, it frustrates the person after they have used google for hours. Please.
Like the others in this thread, I hit several potential matches on the first page of my first query. Therefore it was natural to assume that you hadn't done any googling. Whenever you ask for links to things, it's generally a good idea to mention that you have been trying unsuccessfully.

Ya it my fault for not stating I want it specifically in C.
 
Jun 6, 2005
194
0
0
Originally posted by: mOeeOm
Originally posted by: kamper
Originally posted by: mOeeOm
Originally posted by: kamper
Have you ever run across a handy little tool called google?

Please don't reply to anyone like that man, it frustrates the person after they have used google for hours. Please.
Like the others in this thread, I hit several potential matches on the first page of my first query. Therefore it was natural to assume that you hadn't done any googling. Whenever you ask for links to things, it's generally a good idea to mention that you have been trying unsuccessfully.

Ya it my fault for not stating I want it specifically in C.


doesnt matter if the link they provide you is in java. you should be able to rewrite it in C based on the java code. in fact you should at the very MOST only need the pseudo code for a caeser cipher. the concept behind it isnt very complicated. you should be able to write down your own pseudo code for it and then translate that into c syntax.

ceaser cipher is just about shifting characters. you can also make use of mod for your calculation on this.