diff -r d84d25d6cdbb -r 5a71993a1a70 Base64.h --- a/Base64.h Sat Mar 08 21:04:41 2008 -0800 +++ b/Base64.h Sat Mar 28 09:36:46 2009 -0700 @@ -9,15 +9,18 @@ #import -@interface NSData (Base64) +//NOTE: Using this requires linking against /usr/lib/libcrypto.dylib. -- (NSString *)base64String; -- (NSString *)base64StringWithNewlines:(BOOL)encodeWithNewlines; -- (NSData *)decodeBase64; -- (NSData *)decodeBase64WithNewLines:(BOOL)encodedWithNewlines; +@interface NSData (MYBase64) -- (NSString *)hexString; -- (NSString *)hexDump; +- (NSString *)my_base64String; +- (NSString *)my_base64StringWithNewlines:(BOOL)encodeWithNewlines; + +- (NSData *)my_decodeBase64; +- (NSData *)my_decodeBase64WithNewLines:(BOOL)encodedWithNewlines; + +- (NSString *)my_hexString; +- (NSString *)my_hexDump; @end