22 OF_ASSUME_NONNULL_BEGIN
34 #ifdef OF_HAVE_CLASS_PROPERTIES 35 @property (
class, readonly, nonatomic)
size_t digestSize;
36 @property (
class, readonly, nonatomic)
size_t blockSize;
42 @property (readonly, nonatomic)
size_t digestSize;
47 @property (readonly, nonatomic)
size_t blockSize;
52 @property (readonly, nonatomic)
bool allowsSwappableMemory;
57 @property (readonly, nonatomic, getter=isCalculated)
bool calculated;
67 @property (readonly, nonatomic)
const unsigned char *digest
68 OF_RETURNS_INNER_POINTER;
75 + (instancetype)hashWithAllowsSwappableMemory: (
bool)allowsSwappableMemory;
96 - (instancetype)initWithAllowsSwappableMemory: (
bool)allowsSwappableMemory;
98 - (instancetype)init OF_UNAVAILABLE;
107 - (void)updateWithBuffer: (const
void *)buffer length: (
size_t)length;
126 OF_ASSUME_NONNULL_END
The root class for all other classes inside ObjFW.
Definition: OFObject.h:690
A protocol for the creation of copies.
Definition: OFObject.h:1350
A protocol for classes providing cryptographic hash functions.