@@ -136,10 +136,15 @@ + (size_t)blockSize { return 64; } + ++ (instancetype)hash +{ + return [[[self alloc] init] autorelease]; +} - init { self = [super init]; @@ -190,6 +195,11 @@ _calculated = YES; return _digest; } + +- (BOOL)isCalculated +{ + return _calculated; +} @end