Skip to content

Instantly share code, notes, and snippets.

@ezodude
Created May 6, 2014 10:11
Show Gist options
  • Save ezodude/80672ce3ec4e86a708a3 to your computer and use it in GitHub Desktop.
Save ezodude/80672ce3ec4e86a708a3 to your computer and use it in GitHub Desktop.
#import <Foundation/Foundation.h>
#import <CommonCrypto/CommonDigest.h>
@interface NSString (SO)
+ (NSString *)base64forData:(NSData *)data;
- (BOOL)isHexadecimal;
- (BOOL)isOnlyFromCharacterSet:(NSCharacterSet *)aCharacterSet;
- (NSString *)MD5;
- (NSString *)SHA1;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment