@@ -139,10 +139,15 @@ + (size_t)blockSize { return 64; } + ++ (instancetype)hash +{ + return [[[self alloc] init] autorelease]; +} - init { self = [super init]; @@ -256,6 +261,11 @@ _calculated = YES; return (uint8_t*)_buffer; } + +- (BOOL)isCalculated +{ + return _calculated; +} @end