Differences From Artifact [b9d1ebe958]:
- File src/OFSHA1Hash.m — part of check-in [da6b3d26cb] at 2011-01-01 20:19:54 on branch trunk — Change license. (user: js, size: 5285) [annotate] [blame] [check-ins using]
To Artifact [ba33b42a53]:
- File src/OFSHA1Hash.m — part of check-in [275744ecd3] at 2011-02-17 19:56:26 on branch trunk — Add +[digestSize] and +[blockSize] to OFHash. (user: js, size: 5360) [annotate] [blame] [check-ins using]
︙ | |||
129 130 131 132 133 134 135 136 137 138 139 140 141 142 | 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 | + + + + + + + + + + | } @implementation OFSHA1Hash + SHA1Hash { return [[[self alloc] init] autorelease]; } + (size_t)digestSize { return 20; } + (size_t)blockSize { return 64; } - init { self = [super init]; state[0] = 0x67452301; state[1] = 0xEFCDAB89; |
︙ |