Programming Forums
User Name Password Register
 

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

Reply
 
Thread Tools Display Modes
Old May 5th, 2006, 1:22 AM   #1
ChrisX.KP
Newbie
 
ChrisX.KP's Avatar
 
Join Date: May 2006
Posts: 7
Rep Power: 0 ChrisX.KP is on a distinguished road
Send a message via AIM to ChrisX.KP
Lightbulb C++ Encryption

Can anyone direct me towrds a good FREE encryption program that I can use for my C++ program source code?
__________________
Sig Removed by Admin.
Signatures:
Maximum length - The maximum length of a forum signature is 4 to 5 lines.
ChrisX.KP is offline   Reply With Quote
Old May 5th, 2006, 1:44 AM   #2
mrynit
Hobbyist Programmer
 
mrynit's Avatar
 
Join Date: Mar 2006
Location: WA, USA
Posts: 343
Rep Power: 3 mrynit is on a distinguished road
Send a message via AIM to mrynit Send a message via MSN to mrynit Send a message via Yahoo to mrynit Send a message via Skype™ to mrynit
hint: large prime numbers
__________________
i dont know much about programming but i try to help
mrynit is offline   Reply With Quote
Old May 5th, 2006, 1:44 AM   #3
ChrisX.KP
Newbie
 
ChrisX.KP's Avatar
 
Join Date: May 2006
Posts: 7
Rep Power: 0 ChrisX.KP is on a distinguished road
Send a message via AIM to ChrisX.KP
I dont really have money to spen on a file encryptor so anything free you guys can throw my way would be a huge help.
__________________
Sig Removed by Admin.
Signatures:
Maximum length - The maximum length of a forum signature is 4 to 5 lines.
ChrisX.KP is offline   Reply With Quote
Old May 5th, 2006, 1:52 AM   #4
lectricpharaoh
SEXY SHOELESS GOD OF WAR!
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Wet west coast of Canada
Posts: 1,193
Rep Power: 5 lectricpharaoh will become famous soon enough
Quote:
Originally Posted by ChrisX.KP
Can anyone direct me towrds a good FREE encryption program that I can use for my C++ program source code?
What do you want to encrypt it for? Transmission? Storage, in case someone gets access to the files on your machine? For the latter, you may be able to rely upon encryption facilities provided by your OS. For both, you can use any of a number of freely available programs on the net (PGP comes to mind) to handle your encryption needs.

If instead you mean an encryption library that you can use from your C++ code (as opposed to simply encrypting your source files), you should be able to find an open-source implementation with a little legwork, or you could research some algorithms and roll your own. In many cases, the algorithms themselves are available free of charge, even if some implementations of these algorithms are not. I recommend against trying to devise your own algorithm (except possibly as a learning exercise), as it is not likely to be anywhere near as robust as those created by people who make a living from creating cryptographic algorithms.

[edit] You might wanna change your sig, too. If my past experience with people with an interest in programming (including classroom demographics) is any indication, I expect 90+% of the users here are male, and unless you're female or gay, you probably don't want a sig that looks like you're propositioning the forum's userbase for intimate liasons. [/edit]
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is online now   Reply With Quote
Old May 5th, 2006, 3:35 AM   #5
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
When I googled for "C++ encryption library" I got this link: http://www.eskimo.com/~weidai/cryptlib.html
Arevos is offline   Reply With Quote
Old May 13th, 2006, 10:27 AM   #6
yeohhs
Newbie
 
Join Date: Apr 2005
Posts: 18
Rep Power: 0 yeohhs is on a distinguished road
Send a message via Yahoo to yeohhs
Hi,

I am using LibTomCrypt. It is public domain source codes and is easy to use with C++.
The URL is http://www.libtomcrypt.com/

Best Regards,
Yeoh
--
http://www.yeohhs.com
yeohhs is offline   Reply With Quote
Old May 14th, 2006, 10:44 PM   #7
Kilo
Expert Programmer
 
Kilo's Avatar
 
Join Date: Nov 2005
Location: In Pink Clam?
Posts: 542
Rep Power: 0 Kilo is an unknown quantity at this point
Send a message via AIM to Kilo
I have a question... Lets say me and a friend our writing our own interpreted scripting language for work (to enchance production tremendously) and our "cheap compilation" will encryption. Wehn a user wants to run the script it will simply decrypt and parse the script. How do you think i should go about encrypting these files?
__________________
"When in Rome, Do as the Romans Do"
"Beauty is in the eye of the BEER holder"
"Save your breath your going to need it for your blow up doll later"

SearchLores.org
Kilo is offline   Reply With Quote
Old May 15th, 2006, 6:32 PM   #8
msk420
Programmer
 
msk420's Avatar
 
Join Date: May 2006
Posts: 85
Rep Power: 3 msk420 is on a distinguished road
Quote:
Originally Posted by yeohhs
Hi,

I am using LibTomCrypt. It is public domain source codes and is easy to use with C++.
The URL is http://www.libtomcrypt.com/
I tried this and I cannot get it to work for the life of me....
__________________
Code Forums
msk420 is offline   Reply With Quote
Old May 18th, 2006, 1:16 AM   #9
yeohhs
Newbie
 
Join Date: Apr 2005
Posts: 18
Rep Power: 0 yeohhs is on a distinguished road
Send a message via Yahoo to yeohhs
Hi msk420,

In the folder, libtomcrypt-1.11, there is a make file, makefile.msvc. You can use VC++ 6.0 (in console window) to build the static library, tomcrypt.lib.

After you have built tomcrypt.lib, you can build encrypt.c in the demos folder.

Hope this helps in some way.

Best Regards,
Yeoh
__________________
FREE downloads: Assembly, C, C++, C# and .NET tips, tutorials, source codes and sample eBooks at http://www.yeohhs.com
yeohhs 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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:44 AM.

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