Cryptography In C

Please support our C advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jan 2007
Posts: 45
Reputation: apurv is an unknown quantity at this point 
Solved Threads: 3
apurv apurv is offline Offline
Light Poster

Cryptography In C

 
0
  #1
Jan 7th, 2007
Wat according 2 u ppl is the strongest cryptography for c ?:!:

I mean that can be acctualised using a C program.
Last edited by apurv; Jan 7th, 2007 at 7:21 am.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,266
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 377
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: Cryptography In C

 
0
  #2
Jan 7th, 2007
Try google.
*Voted best profile in the world*
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 45
Reputation: apurv is an unknown quantity at this point 
Solved Threads: 3
apurv apurv is offline Offline
Light Poster

Re: Cryptography In C

 
0
  #3
Jan 7th, 2007
its not an answer !
GOOGLE is 2 vast.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 45
Reputation: apurv is an unknown quantity at this point 
Solved Threads: 3
apurv apurv is offline Offline
Light Poster

Re: Cryptography In C

 
0
  #4
Jan 7th, 2007
I think Substitution chiper is good
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: Cryptography In C

 
1
  #5
Jan 7th, 2007
Cryptography is based on algorithms (and some very heavy mathematical analysis), not choices of implementation language.
http://en.wikipedia.org/wiki/Cryptography

> I mean that can be acctualised using a C program.
Since C is a Turing complete language, if you have an algorithm, then you can express that algorithm in C.

> I think Substitution chiper is good
I look forward to emptying your bank account of all your money - as would any other person with even basic knowledge.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 45
Reputation: apurv is an unknown quantity at this point 
Solved Threads: 3
apurv apurv is offline Offline
Light Poster

Re: Cryptography In C

 
0
  #6
Jan 7th, 2007
I look forward to emptying your bank account of all your money - as would any other person with even basic knowledge.

Substitution chiper can be made very strong by using many strings...
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,628
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 468
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: Cryptography In C

 
0
  #7
Jan 8th, 2007
But since there is a definate pattern here (something is getting replaced or subsituted by something) it always is easy to crack to Substitution or Caesar Cipher. So it won't matter much no matter how long strings you use since there will always be a simple formula which the hacker will look for.

Chossing some tougher 64 bit or 128 bit algos which are commonly used nowadays would be a much better choice. Some of them are RSA (Rivest Shamir Adelman) , MD5 Hash algorithms etc.
Last edited by ~s.o.s~; Jan 8th, 2007 at 12:37 pm.
I don't accept change; I don't deserve to live.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 45
Reputation: apurv is an unknown quantity at this point 
Solved Threads: 3
apurv apurv is offline Offline
Light Poster

Re: Cryptography In C

 
0
  #8
Jan 10th, 2007
i mean, it can be made stronger, if we...

choose the replacement for first character from first string,
for second from second string,
for third from third string, like this, say 10 times.
then again we will use first string, then second, and so on...
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: Cryptography In C

 
0
  #9
Jan 10th, 2007
> choose the replacement for first character from first string,
> for second from second string,
So you're saying that if you have 4 strings as your key

"this"
"ismy"
"word"
"grid"
that taking 't' 's' 'r' 'd' .... and the other 12 letters in some order, that the result is a lot more secure than using "thisismywordgrid" as the key?

Yeah, maybe it will fool a dictionary based attack, but it certainly doesn't fix any of the frequency analysis attacks (a problem faced by a lot of substitution cyphers). A good algorithm has to stand up to all known attack forms, not just those that can be done with pen and paper.

As for a chosen plaintext attack, that's just going to reveal the key straight off.

http://www.interhack.net/people/cmcu...e-oil-faq.html
Like has already been said, you need to spend a good long time doing lots of research on your own. Cryptography is a large and very technical subject. A brief Q&A on a message board isn't going to cut it.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 5
Reputation: sham51 is an unknown quantity at this point 
Solved Threads: 0
sham51 sham51 is offline Offline
Newbie Poster

Re: Cryptography In C

 
0
  #10
Jan 30th, 2007
substitution ciphers r really easy to decrypt be it in any complex form....
the best method is either using RSA ....
or any of the public key encryption methods (depending on the complexity of the host information, and how secure u want it to be)
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC