Differences From Artifact [714154ae18]:
- File src/OFHashes.h — part of check-in [9a0cc3bc23] at 2008-10-26 02:45:59 on branch trunk — Add OFHashes. Only MD5 so far. (user: js, size: 525) [annotate] [blame] [check-ins using]
To Artifact [4951f2110c]:
- File src/OFHashes.h — part of check-in [165c2c0b9d] at 2008-10-26 17:48:05 on branch trunk — OFMD5Hash improvements. (user: js, size: 545) [annotate] [blame] [check-ins using]
︙ | |||
14 15 16 17 18 19 20 21 22 23 24 25 26 27 | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | + + | #import "OFObject.h" @interface OFMD5Hash: OFObject { uint32_t buf[4]; uint32_t bits[2]; uint8_t in[64]; BOOL calculated; } - init; - (void)updateWithBuffer: (const uint8_t*)buf ofSize: (size_t)size; - (uint8_t*)digest; @end |