@@ -213,11 +213,11 @@ /* Handle any remaining bytes of data. */ memcpy(_in.u8, buffer, length); } -- (uint8_t*)digest +- (const uint8_t*)digest { uint8_t *p; size_t count; if (_calculated) @@ -258,13 +258,13 @@ md5_transform(_buffer, _in.u32); BSWAP32_VEC_IF_BE(_buffer, 4); _calculated = true; - return (uint8_t*)_buffer; + return (const uint8_t*)_buffer; } - (bool)isCalculated { return _calculated; } @end