129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
}
@implementation OFSHA1Hash
+ SHA1Hash
{
return [[[self alloc] init] autorelease];
}
- init
{
self = [super init];
state[0] = 0x67452301;
state[1] = 0xEFCDAB89;
|
>
>
>
>
>
>
>
>
>
>
|
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;
|