diff -r d84d25d6cdbb -r a910102a1c9d Base64.h --- a/Base64.h Sat Mar 08 21:04:41 2008 -0800 +++ b/Base64.h Tue Apr 07 11:13:25 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