@@ -128,11 +128,11 @@ + (instancetype)cryptoHash { return [[[self alloc] init] autorelease]; } -- init +- (instancetype)init { self = [super init]; @try { if ([self class] == [OFSHA224Or256Hash class]) { @@ -154,11 +154,11 @@ [self reset]; [super dealloc]; } -- copy +- (id)copy { OFSHA224Or256Hash *copy = [[[self class] alloc] init]; memcpy(copy->_state, _state, sizeof(_state)); copy->_bits = _bits;