21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#endif
extern int _OFString_Hashing_reference;
#ifdef __cplusplus
}
#endif
/**
* The OFString (Hashing) category provides methods to calculate hashes for
* strings.
*/
@interface OFString (Hashing)
/**
* \return The MD5 hash of the string as an autoreleased OFString
*/
- (OFString*)MD5Hash;
/**
* \return The SHA1 hash of the string as an autoreleased OFString
*/
- (OFString*)SHA1Hash;
@end
|
|
|
>
>
>
>
|
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
|
#endif
extern int _OFString_Hashing_reference;
#ifdef __cplusplus
}
#endif
/**
* \brief The OFString (Hashing) category provides methods to calculate hashes
* for strings.
*/
@interface OFString (Hashing)
/**
* \brief Returns the MD5 hash of the string as an autoreleased OFString.
*
* \return The MD5 hash of the string as an autoreleased OFString
*/
- (OFString*)MD5Hash;
/**
* \brief Returns the SHA1 hash of the string as an autoreleased OFString.
*
* \return The SHA1 hash of the string as an autoreleased OFString
*/
- (OFString*)SHA1Hash;
@end
|