Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about MD5



On 11/7/06 1:41, James W. Walker <email@hidden> wrote:

> Chas Spillar <email@hidden> wrote:
> 
>> So, I am including the openssl/md5.h header:
>> 
>> #include "openssl/md5.h"
>> 
>> And, I am linking with /usr/lib/libcrypto.0.9.7.dylib
>> 
>> However, this will build on Intel but the PPC version isn't finding the
>> routines I am using MD5Init, MD5Update, MD5Finalize...
> 
> 
> An alternative would be to just include the MD5 source in your
> project, and never mind about frameworks.  If you have a copy of
> CodeWarrior sitting around, you can find MD5 source in the PowerPlant
> internet classes.  And if you don't have CW, you can get it from the
> open-powerplant project at SourceForge.

An alternative alternative would be to link against Security.framework, and
use the CDSA functions therein.

Once you've gone through the hassle of initializing CDSA, getting an MD5
hash is a simple call.

Cheers,

Chris


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >Re: Question about MD5 (From: "James W. Walker" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.