18 OF_ASSUME_NONNULL_BEGIN
31 #ifdef OF_HAVE_CLASS_PROPERTIES 32 @property (
class, readonly, nonatomic)
size_t digestSize;
33 @property (
class, readonly, nonatomic)
size_t blockSize;
39 @property (readonly, nonatomic)
size_t digestSize;
44 @property (readonly, nonatomic)
size_t blockSize;
49 @property (readonly, nonatomic)
bool allowsSwappableMemory;
54 @property (readonly, nonatomic, getter=isCalculated)
bool calculated;
64 @property (readonly, nonatomic)
const unsigned char *digest
65 OF_RETURNS_INNER_POINTER;
72 + (instancetype)hashWithAllowsSwappableMemory: (
bool)allowsSwappableMemory;
93 - (instancetype)initWithAllowsSwappableMemory: (
bool)allowsSwappableMemory;
95 - (instancetype)init OF_UNAVAILABLE;
104 - (void)updateWithBuffer: (const
void *)buffer length: (
size_t)length;
123 OF_ASSUME_NONNULL_END
The root class for all other classes inside ObjFW.
Definition: OFObject.h:686
A protocol for the creation of copies.
Definition: OFObject.h:1346
A protocol for classes providing cryptographic hash functions.