30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
*/
@protocol OFCryptoHash <OFObject, OFCopying>
#ifdef OF_HAVE_CLASS_PROPERTIES
@property (class, readonly, nonatomic) size_t digestSize;
@property (class, readonly, nonatomic) size_t blockSize;
#endif
/*!
* @brief A boolean whether the hash has already been calculated.
*/
@property (readonly, nonatomic, getter=isCalculated) bool calculated;
/*!
* @brief A buffer containing the cryptographic hash.
|
>
>
>
>
>
>
>
>
>
>
|
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
*/
@protocol OFCryptoHash <OFObject, OFCopying>
#ifdef OF_HAVE_CLASS_PROPERTIES
@property (class, readonly, nonatomic) size_t digestSize;
@property (class, readonly, nonatomic) size_t blockSize;
#endif
/*!
* @brief The digest size of the cryptographic hash, in bytes.
*/
@property (readonly, nonatomic) size_t digestSize;
/*!
* @brief The block size of the cryptographic hash, in bytes.
*/
@property (readonly, nonatomic) size_t blockSize;
/*!
* @brief A boolean whether the hash has already been calculated.
*/
@property (readonly, nonatomic, getter=isCalculated) bool calculated;
/*!
* @brief A buffer containing the cryptographic hash.
|