18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
OF_ASSUME_NONNULL_BEGIN
@class OFString;
#ifdef __cplusplus
extern "C" {
#endif
extern int _OFData_CryptoHashing_reference;
#ifdef __cplusplus
}
#endif
@interface OFData (CryptoHashing)
/**
* @brief The MD5 hash of the data as a string.
*/
@property (readonly, nonatomic) OFString *MD5Hash;
/**
* @brief The RIPEMD-160 hash of the data as a string.
*/
@property (readonly, nonatomic) OFString *RIPEMD160Hash;
/**
* @brief The SHA-1 hash of the data as a string.
*/
@property (readonly, nonatomic) OFString *SHA1Hash;
/**
* @brief The SHA-224 hash of the data as a string.
*/
@property (readonly, nonatomic) OFString *SHA224Hash;
/**
* @brief The SHA-256 hash of the data as a string.
*/
@property (readonly, nonatomic) OFString *SHA256Hash;
/**
* @brief The SHA-384 hash of the data as a string.
*/
@property (readonly, nonatomic) OFString *SHA384Hash;
/**
* @brief The SHA-512 hash of the data as a string.
*/
@property (readonly, nonatomic) OFString *SHA512Hash;
@end
OF_ASSUME_NONNULL_END
|
|
|
|
|
|
|
|
|
|
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
OF_ASSUME_NONNULL_BEGIN
@class OFString;
#ifdef __cplusplus
extern "C" {
#endif
extern int _OFData_CryptographicHashing_reference;
#ifdef __cplusplus
}
#endif
@interface OFData (CryptographicHashing)
/**
* @brief The MD5 hash of the data as a string.
*/
@property (readonly, nonatomic) OFString *stringByMD5Hashing;
/**
* @brief The RIPEMD-160 hash of the data as a string.
*/
@property (readonly, nonatomic) OFString *stringByRIPEMD160Hashing;
/**
* @brief The SHA-1 hash of the data as a string.
*/
@property (readonly, nonatomic) OFString *stringBySHA1Hashing;
/**
* @brief The SHA-224 hash of the data as a string.
*/
@property (readonly, nonatomic) OFString *stringBySHA224Hashing;
/**
* @brief The SHA-256 hash of the data as a string.
*/
@property (readonly, nonatomic) OFString *stringBySHA256Hashing;
/**
* @brief The SHA-384 hash of the data as a string.
*/
@property (readonly, nonatomic) OFString *stringBySHA384Hashing;
/**
* @brief The SHA-512 hash of the data as a string.
*/
@property (readonly, nonatomic) OFString *stringBySHA512Hashing;
@end
OF_ASSUME_NONNULL_END
|