Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 13th, 2007, 10:40 AM   #1
Jack Walters
Newbie
 
Join Date: Nov 2007
Posts: 9
Rep Power: 0 Jack Walters is on a distinguished road
Cryptography

I am thinking about making an encryption program in C++. I know little about cryptography and even less about how to implement a good encryption method with programming. Does anyone know of a encryption method, that would be very difficult to crack that could be used to encrypt plain text files.
Jack Walters is offline   Reply With Quote
Old Nov 13th, 2007, 10:52 AM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Re: Cryptography

I would suggest that you do some research in the cryptographic area. True, secure cryptography is not a trivial subject. Experts who have been doing it for years still often get it wrong when devising new techniques.

Lots of programmers dip their toes in the water from time to time, but the result is (predictably) mostly junk, which runs counter to your stated requirement.

Have you Googled this subject at all?
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Nov 13th, 2007, 1:25 PM   #3
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Re: Cryptography

Google is your friend: http://www.cryptopp.com/
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Nov 14th, 2007, 9:26 AM   #4
Jack Walters
Newbie
 
Join Date: Nov 2007
Posts: 9
Rep Power: 0 Jack Walters is on a distinguished road
Re: Cryptography

I dug around alittle. But all I found is a bunch of unsecure methods, that could be crakced with a little playing around.
Jack Walters is offline   Reply With Quote
Old Nov 14th, 2007, 1:40 PM   #5
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Re: Cryptography

Did you look into the Advanced Encryption Standard?
http://en.wikipedia.org/wiki/Advance...ption_Standard

The National Security Agency has approved it for the encryption/decryption of SECRET and TOP SECRET government data when used with 192 or 256 bit key lengths. I would surmise that such an algorithm would be sufficient for your project.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Nov 15th, 2007, 10:06 AM   #6
Jack Walters
Newbie
 
Join Date: Nov 2007
Posts: 9
Rep Power: 0 Jack Walters is on a distinguished road
Re: Cryptography

But the question is: can the government crack it? Just kidding
Jack Walters is offline   Reply With Quote
Old Nov 15th, 2007, 10:19 AM   #7
Jack Walters
Newbie
 
Join Date: Nov 2007
Posts: 9
Rep Power: 0 Jack Walters is on a distinguished road
Re: Cryptography

Looks good. Just got get a manual on this stuff. Hope it isn't hard to use.

Edit:
Yeah, this manual isn't helping. I need help on this.
Jack Walters is offline   Reply With Quote
Old Nov 16th, 2007, 3:18 AM   #8
kruptof
Professional Programmer
 
kruptof's Avatar
 
Join Date: May 2006
Location: UK - London
Posts: 329
Rep Power: 3 kruptof is on a distinguished road
Re: Cryptography

Try reading Applied Cryptography by Bruce Schneier, I heard some good things about it. I actually purchased it this week from my local charity shop (£5.99, it was a bargain)
__________________
Quote:
When I was young it seemed that life was so wonderful,a miracle, oh it was beautiful, magical.
Now watch what you say or they'll be calling you a radical,a liberal, oh fanatical, criminal. Oh won't you sign up your name,we'd like to feel you're acceptable, respectable, oh presentable, a vegetable
kruptof is offline   Reply With Quote
Old Nov 16th, 2007, 10:26 AM   #9
Jack Walters
Newbie
 
Join Date: Nov 2007
Posts: 9
Rep Power: 0 Jack Walters is on a distinguished road
Re: Cryptography

I rather not pay for information. I'll just dig around more. Thanks for pointing me in the right direction guys.
Jack Walters is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Public Key Cryptography: private key? java_roshan Coder's Corner Lounge 2 Sep 4th, 2006 10:33 PM
RSA Cryptography program BucherPSU08 Java 8 Mar 16th, 2006 10:38 AM
MS CryptoAPI frustration - Cryptography SugarDaddy C++ 1 Jul 6th, 2005 3:05 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:58 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC