The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 10:35 AM
perl array question from going through hash hankooknara Shell Programming and Scripting 2 07-29-2007 09:53 PM
hash,array and perl new2ss Shell Programming and Scripting 3 05-23-2007 11:30 AM
Hash within array, within hash, within array... jsmoriss Shell Programming and Scripting 1 07-10-2006 09:26 PM
getting data list into a hash array topcat8 Shell Programming and Scripting 5 03-09-2004 12:02 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-08-2007
jcarter2333 jcarter2333 is offline
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.
  #2 (permalink)  
Old 02-08-2007
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,717
The RSA webistei used to have this code - I can't find it there
Attached Files
File Type: zip md5.zip (6.2 KB, 53 views)
  #3 (permalink)  
Old 02-08-2007
jcarter2333 jcarter2333 is offline
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
  #4 (permalink)  
Old 02-08-2007
jcarter2333 jcarter2333 is offline
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.
  #5 (permalink)  
Old 02-08-2007
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,717
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.
  #6 (permalink)  
Old 02-08-2007
jcarter2333 jcarter2333 is offline
Registered User
  
 

Join Date: Feb 2007
Posts: 11
Thanks, Jim.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:25 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0