C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 11-13-2005, 01:26 AM   #1
Registered User
 
Join Date: Nov 2005
Posts: 1
help me to use md5sum, thanks

I want to use md5sum in my program. I found we can use md5sum in the command line in Linux, so do we can use the md5sum function call in the program. I want to find the md5sum source code in the Linux, but the one I found seems not the correct one. Does anybody know which file we need to include into the program in order to use the md5sum function, and which function we need to call, or where the source code about md5sum located? I found the coreutils md5sum.c in the linux and wanted to use it, but I don't know which file I need to include in the header of my program. Please help me, thanks.
bnboy is offline   Reply With Quote
Old 11-13-2005, 12:23 PM   #2
Super Moderator
 
Join Date: Sep 2001
Posts: 4,746
Moved to Linux Programming
sean is offline   Reply With Quote
Old 11-13-2005, 01:02 PM   #3
Registered User
 
Join Date: Sep 2004
Posts: 197
the md5sum program is part of the gnu coreutils package. Here is the project page http://www.gnu.org/software/coreutils/ and you can get the source from there. IIRC, the md5 algorithim is actually described in one of the RFCs
__________________
If any part of my post is incorrect, please correct me.

This post is not guarantied to be correct, and is not to be taken as a matter of fact, but of opinion or a guess, unless otherwise noted.
Xipher is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
32 bit v.s. 64 bit xddxogm3 Tech Board 4 01-14-2005 09:58 AM
Which ISOs To Download? Rouss Tech Board 8 04-30-2004 08:02 PM
md5sum via function call Lynux-Penguin Linux Programming 1 10-25-2003 12:12 AM
trying to install linux task Linux Programming 19 10-28-2002 09:42 AM
Store command output into a variable. Kevin.j C Programming 7 09-29-2002 11:44 AM


All times are GMT -6. The time now is 12:29 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22