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