Differences From Artifact [f63a3a4a9b]:
- File
src/OFString+CryptoHashing.h
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 2099) [annotate] [blame] [check-ins using]
To Artifact [60e0201519]:
- File
src/OFString+CryptoHashing.h
— part of check-in
[f3ccf14461]
at
2017-10-29 21:58:14
on branch trunk
— Convert methods to properties where appropriate
This improves Swift compatibility. (user: js, size: 1570) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
24 25 26 27 28 29 30 | extern int _OFString_CryptoHashing_reference; #ifdef __cplusplus } #endif @interface OFString (CryptoHashing) /*! | < < | | < < | | < < | | < < | | < < | | < < | | < < | | | 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 | extern int _OFString_CryptoHashing_reference; #ifdef __cplusplus } #endif @interface OFString (CryptoHashing) /*! * The MD5 hash of the string as a string. */ @property (readonly, nonatomic) OFString *MD5Hash; /*! * The RIPEMD-160 hash of the string as a string. */ @property (readonly, nonatomic) OFString *RIPEMD160Hash; /*! * The SHA-1 hash of the string as a string. */ @property (readonly, nonatomic) OFString *SHA1Hash; /*! * The SHA-224 hash of the string as a string. */ @property (readonly, nonatomic) OFString *SHA224Hash; /*! * The SHA-256 hash of the string as a string. */ @property (readonly, nonatomic) OFString *SHA256Hash; /*! * The SHA-384 hash of the string as a string. */ @property (readonly, nonatomic) OFString *SHA384Hash; /*! * The SHA-512 hash of the string as a string. */ @property (readonly, nonatomic) OFString *SHA512Hash; @end OF_ASSUME_NONNULL_END |