The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Read csv into Hash array? kinmak Shell Programming and Scripting 1 05-07-2008 07:35 AM
perl array question from going through hash hankooknara Shell Programming and Scripting 2 07-29-2007 06:53 PM
hash,array and perl new2ss Shell Programming and Scripting 3 05-23-2007 08:30 AM
Hash within array, within hash, within array... jsmoriss Shell Programming and Scripting 1 07-10-2006 06:26 PM
getting data list into a hash array topcat8 Shell Programming and Scripting 5 03-09-2004 09:02 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 02-08-2007
Registered User
 

Join Date: Feb 2007
Posts: 11
md5 hash a string or char array in SCO

Can someone provide me with code to md5 hash a string or character array in the SCO environment.

All help is appreciated thanks.
Reply With Quote
Forum Sponsor
  #2  
Old 02-08-2007
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,274
The RSA webistei used to have this code - I can't find it there
Attached Files
File Type: zip md5.zip (6.2 KB, 5 views)
Reply With Quote
  #3  
Old 02-08-2007
Registered User
 

Join Date: Feb 2007
Posts: 11
md5

When I compile this code I get errors:


undefined first referenced
symbol in file
MD5Init mddriver.o
MD5Update mddriver.o
MD5Final mddriver.o
i386ld fatal: Symbol referencing errors. No output written to a.out
Reply With Quote
  #4  
Old 02-08-2007
Registered User
 

Join Date: Feb 2007
Posts: 11
MD5 Hash

From what I have read I only need md5.c because I am trying to use this in another program.
Reply With Quote
  #5  
Old 02-08-2007
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,274
I have no idea how you compiled the code. Put all the files in the same directory - call it md5 or soemthing.

Code:
 cc -o mddriver mddriver.c md5.c
This works just fine for me. It's standard C.

The mddriver is there to show you how to use it and to verify that the code works
on your box.
Reply With Quote
  #6  
Old 02-08-2007
Registered User
 

Join Date: Feb 2007
Posts: 11
Thanks, Jim.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:10 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0