rfm@gnu.org
)Copyright: (C) 2003-2010 Free Software Foundation, Inc.
- Declared in:
- GNUstepBase/NSData+GNUstepBase.h
hexData = [[sourceData hexadecimalRepresentation] dataUsingEncoding: NSASCIIStringEncoding];
myDigest = [[myString dataUsingEncoding: NSUTF8StringEncoding] md5Digest];If you need to use the digest in a human readable form, you will probably want it to be seen as 32 hexadecimal digits, and can do that using the -hexadecimalRepresentation method.
untitled
as the name.