FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
NSACommonDigest.h
Go to the documentation of this file.
1 //
2 // NSACommonDigest.h
3 // FoundationExtension
4 //
5 // Created by Jeong YunWon on 10. 11. 1..
6 // Copyright 2010 youknowone.org All rights reserved.
7 //
8 
15 #import <Foundation/Foundation.h>
16 
21 
25 - (NSData *)digestByMD2;
29 - (NSData *)digestByMD4;
33 - (NSData *)digestByMD5;
37 - (NSData *)digestBySHA1;
41 - (NSData *)digestBySHA224;
45 - (NSData *)digestBySHA256;
49 - (NSData *)digestBySHA384;
53 - (NSData *)digestBySHA512;
54 
57 - (NSString *)digestStringByMD5 __deprecated;
60 - (NSString *)digestStringBySHA1 __deprecated;
61 
62 @end
63 
68 
72 - (NSData *)digestByMD2UsingEncoding:(NSStringEncoding)encoding;
76 - (NSData *)digestByMD4UsingEncoding:(NSStringEncoding)encoding;
80 - (NSData *)digestByMD5UsingEncoding:(NSStringEncoding)encoding;
84 - (NSData *)digestBySHA1UsingEncoding:(NSStringEncoding)encoding;
88 - (NSData *)digestBySHA224UsingEncoding:(NSStringEncoding)encoding;
92 - (NSData *)digestBySHA256UsingEncoding:(NSStringEncoding)encoding;
96 - (NSData *)digestBySHA384UsingEncoding:(NSStringEncoding)encoding;
100 - (NSData *)digestBySHA512UsingEncoding:(NSStringEncoding)encoding;
101 
104 - (NSData *)digestByMD5 __deprecated;
107 - (NSData *)digestBySHA1 __deprecated;
109 - (NSString *)digestStringByMD5 __deprecated;
111 - (NSString *)digestStringBySHA1 __deprecated;
112 
113 @end
NSData * digestBySHA512()
SSH512 digest.
Shortcuts for CommonCrypto digest.
Definition: NSACommonDigest.h:20
NSData * digestByMD2()
MD2 digest.
Shortcuts for CommonCrypto digest.
Definition: NSACommonDigest.h:67
NSData * digestBySHA384()
SSH384 digest.
NSData * digestByMD5()
MD5 digest.
NSData * digestBySHA256()
SSH256 digest.
NSData * digestByMD4()
MD4 digest.
NSData * digestBySHA224()
SHA224 digest.
NSData * digestBySHA1()
SHA1 digest.
NSString * __deprecated()