bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MD5


From: Pete French
Subject: Re: MD5
Date: Thu, 23 Jan 2003 11:50:40 +0000

> I don't think the issue right now is "how" to implement it (because with 
> yours we now seem to have three implementations) but rather "where".  

Well,my vote would be a category method on NSString which takes bytes. The
outcome is a string, not data, and strings should be retiurned by class
methods on NSString.

> - (NSData *)md5Digest; /* This method actually implements the calculations*/

...why is the digest being returned as data ? I thought MD5 digests were
always strings...

> But more importantly is where these Categories should go:

Agreeg. And I have no opinion on this - not qualified to comment :-)

-bat.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]