diff -r d84d25d6cdbb -r 2d492d8c2053 Base64.h --- a/Base64.h Sat Mar 08 21:04:41 2008 -0800 +++ b/Base64.h Fri Apr 18 09:25:10 2008 -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