@@ -146,11 +146,11 @@ + (instancetype)cryptoHash { return [[[self alloc] init] autorelease]; } -- init +- (instancetype)init { self = [super init]; [self of_resetState]; @@ -162,11 +162,11 @@ [self reset]; [super dealloc]; } -- copy +- (id)copy { OFRIPEMD160Hash *copy = [[OFRIPEMD160Hash alloc] init]; memcpy(copy->_state, _state, sizeof(_state)); copy->_bits = _bits;