Files
youle_app_ios/msext/Class/webCache/NSString+Sha1.h
2023-12-27 20:38:37 +08:00

20 lines
320 B
Objective-C
Executable File

#import <Foundation/Foundation.h>
#import <CommonCrypto/CommonDigest.h>
/**
* This extension contains several a helper
* for creating a sha1 hash from instances of NSString
*/
@interface NSString (Sha1)
/**
* Creates a SHA1 (hash) representation of NSString.
*
* @return NSString
*/
- (NSString *)sha1;
@end