@@ -113,10 +113,15 @@ buf[2] += c; buf[3] += d; } @implementation OFMD5Hash ++ md5Hash +{ + return [[[self alloc] init] autorelease]; +} + - init { if ((self = [super init])) { buf[0] = 0x67452301; buf[1] = 0xEFCDAB89; @@ -351,10 +356,15 @@ memcpy(&buffer[j], &buf[i], size - i); } @implementation OFSHA1Hash ++ sha1Hash +{ + return [[[self alloc] init] autorelease]; +} + - init { if ((self = [super init])) { count = 0; state[0] = 0x67452301;