17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
* The OFString (OFHashing) 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
|
|
|
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
* The OFString (OFHashing) 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
|