Added some new utilities, taken from Murky.
5 // Created by Jens Alfke on 1/27/08.
6 // Copyright 2008 Jens Alfke. All rights reserved.
9 #import <Cocoa/Cocoa.h>
12 //NOTE: Using this requires linking against /usr/lib/libcrypto.dylib.
15 @interface NSData (MYBase64)
17 - (NSString *)my_base64String;
18 - (NSString *)my_base64StringWithNewlines:(BOOL)encodeWithNewlines;
20 - (NSData *)my_decodeBase64;
21 - (NSData *)my_decodeBase64WithNewLines:(BOOL)encodedWithNewlines;
23 - (NSString *)my_hexString;
24 - (NSString *)my_hexDump;