author | Stefan Vogel <sv@exept.de> |
Mon, 22 Jun 2015 11:33:37 +0200 | |
branch | expecco_2_7_5_branch |
changeset 18499 | b132ac7c9d6a |
parent 16008 | 25ae6c8526f6 |
child 18120 | e3a375d5f6a8 |
child 19608 | 1a12b69abe9c |
permissions | -rw-r--r-- |
6864 | 1 |
" |
2 |
COPYRIGHT (c) 1999 by eXept Software AG |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
7041 | 12 |
"{ Package: 'stx:libbasic' }" |
13 |
||
6864 | 14 |
HashStream subclass:#MD5Stream |
15 |
instanceVariableNames:'hashContext' |
|
16 |
classVariableNames:'HashSize ContextSize' |
|
17 |
poolDictionaries:'' |
|
12419 | 18 |
category:'System-Crypt-Hashing' |
6864 | 19 |
! |
20 |
||
21 |
!MD5Stream primitiveDefinitions! |
|
22 |
%{ |
|
23 |
||
24 |
/* |
|
25 |
* includes, defines, structure definitions |
|
26 |
* and typedefs come here. |
|
27 |
*/ |
|
28 |
||
29 |
#include "md5.h" |
|
30 |
||
31 |
%} |
|
32 |
! ! |
|
33 |
||
34 |
!MD5Stream class methodsFor:'documentation'! |
|
35 |
||
36 |
copyright |
|
37 |
" |
|
38 |
COPYRIGHT (c) 1999 by eXept Software AG |
|
39 |
All Rights Reserved |
|
40 |
||
41 |
This software is furnished under a license and may be used |
|
42 |
only in accordance with the terms of that license and with the |
|
43 |
inclusion of the above copyright notice. This software may not |
|
44 |
be provided or otherwise made available to, or used by, any |
|
45 |
other person. No title to or ownership of the software is |
|
46 |
hereby transferred. |
|
47 |
" |
|
48 |
||
49 |
||
50 |
! |
|
51 |
||
52 |
documentation |
|
53 |
" |
|
54 |
Generate a MD5 hash value as defined in RFC 1321. |
|
12756 | 55 |
This may be used as checksum or for generating cryptographic signatures. |
56 |
||
57 |
Note: |
|
14787 | 58 |
in August 2004, some researchers have found a way to generate full collisions for MD5. |
59 |
Therefore, for new applications, it may be wise to choose another hash function for security stuff. |
|
60 |
See a hash-collision example in the examples method. |
|
6864 | 61 |
|
14787 | 62 |
So, the MD5 algorithm has severe weaknesses, for example it is easy to compute two messages yielding |
63 |
the same hash (collision attack). |
|
64 |
The use of this algorithm is only justified for non-cryptographic application. |
|
13932 | 65 |
|
66 |
||
12265 | 67 |
performance: roughly |
14787 | 68 |
104000 Kb/s on a 2.5Ghz 64X2 Athlon 4800+ (64bit) |
69 |
80000 Kb/s on a 2Ghz Duo |
|
70 |
27200 Kb/s on a 1.2Ghz Athlon |
|
71 |
12600 Kb/s on a 400Mhz PIII |
|
72 |
9150 Kb/s on a 300Mhz Sparc. |
|
73 |
performance is almost completely limited by the speed of the md5-routine, which is the reference |
|
74 |
implementation in C from md5lib. |
|
12756 | 75 |
|
6864 | 76 |
[author:] |
14787 | 77 |
Stefan Vogel |
6864 | 78 |
|
79 |
[see also:] |
|
14787 | 80 |
SHA1Stream |
81 |
SHA256Stream SHA512Stream (in libcrypt) |
|
6864 | 82 |
|
83 |
[class variables:] |
|
14787 | 84 |
HashSize size of returned hash value |
85 |
ContextSize (implementation) size of hash context |
|
6864 | 86 |
|
87 |
[instance variables:] |
|
14787 | 88 |
hashContext (implementation) |
89 |
internal buffer for computation of the hash value |
|
6864 | 90 |
" |
91 |
! |
|
92 |
||
93 |
examples |
|
94 |
" |
|
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
95 |
[exBegin] |
10782 | 96 |
Test Vectors (from FIPS PUB 180-1); results are: |
7041 | 97 |
|
10782 | 98 |
'abc' |
99 |
-> #[90 1 50 98 3C D2 4F B0 D6 96 3F 7D 28 E1 7F 72] |
|
6864 | 100 |
|
10782 | 101 |
'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq' |
102 |
-> #[82 15 EF 7 96 A2 B CA AA E1 16 D3 87 6C 66 4A] |
|
7041 | 103 |
|
10782 | 104 |
A million repetitions of 'a' |
105 |
-> #[77 7 D6 AE 4E 2 7C 70 EE A2 A9 35 C2 29 6F 21] |
|
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
106 |
[exEnd] |
6864 | 107 |
|
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
108 |
[exBegin] |
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
109 |
Transcript showCR:(MD5Stream hashValueOf:'abc') hexPrintString |
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
110 |
[exEnd] |
13001 | 111 |
|
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
112 |
[exBegin] |
12265 | 113 |
(MD5Stream hashValueOf:'abc') |
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
114 |
printOn:Transcript base:16. |
10782 | 115 |
Transcript cr. |
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
116 |
[exEnd] |
6864 | 117 |
|
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
118 |
[exBegin] |
12265 | 119 |
(MD5Stream hashValueOfStream:('abc' readStream)) |
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
120 |
printOn:Transcript base:16. |
10782 | 121 |
Transcript cr. |
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
122 |
[exEnd] |
6864 | 123 |
|
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
124 |
[exBegin] |
6864 | 125 |
|hashStream| |
126 |
||
127 |
hashStream := MD5Stream new. |
|
128 |
hashStream nextPut:'abc'. |
|
129 |
hashStream hashValue printOn:Transcript base:16. Transcript cr. |
|
130 |
hashStream nextPut:'dbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq'. |
|
131 |
hashStream hashValue printOn:Transcript base:16. Transcript cr. |
|
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
132 |
[exEnd] |
6864 | 133 |
|
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
134 |
[exBegin] |
6864 | 135 |
|hashStream| |
136 |
||
137 |
hashStream := MD5Stream new. |
|
7041 | 138 |
hashStream nextPut:'a' asByteArray. |
139 |
hashStream nextPut:'bc' asByteArray. |
|
6864 | 140 |
hashStream hashValue printOn:Transcript base:16. Transcript cr. |
141 |
hashStream nextPut:'dbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq' asByteArray. |
|
142 |
hashStream hashValue printOn:Transcript base:16. Transcript cr. |
|
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
143 |
[exEnd] |
6864 | 144 |
|
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
145 |
[exBegin] |
6864 | 146 |
|hashStream| |
147 |
||
148 |
hashStream := MD5Stream new. |
|
149 |
1000000 timesRepeat:[ hashStream nextPut:$a ]. |
|
150 |
hashStream hashValue printOn:Transcript base:16. Transcript cr. |
|
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
151 |
[exEnd] |
6864 | 152 |
|
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
153 |
[exBegin] |
6864 | 154 |
|hashStream| |
155 |
||
156 |
hashStream := MD5Stream new. |
|
157 |
hashStream nextPut:'a'. |
|
158 |
hashStream hashValue printOn:Transcript base:16. Transcript cr. |
|
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
159 |
[exEnd] |
6864 | 160 |
|
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
161 |
[exBegin] |
6864 | 162 |
|hashStream| |
163 |
||
164 |
hashStream := MD5Stream new. |
|
165 |
hashStream nextPut:$a. |
|
166 |
hashStream hashValue printOn:Transcript base:16. Transcript cr. |
|
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
167 |
[exEnd] |
6864 | 168 |
|
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
169 |
[exBegin] |
6864 | 170 |
|hashStream| |
171 |
||
172 |
hashStream := MD5Stream new. |
|
173 |
hashStream nextPut:'abc'. |
|
174 |
hashStream hashValue printOn:Transcript base:16. Transcript cr. |
|
175 |
hashStream reset. |
|
176 |
hashStream nextPut:'abc'. |
|
177 |
hashStream hashValue printOn:Transcript base:16. Transcript cr. |
|
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
178 |
[exEnd] |
6864 | 179 |
|
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
180 |
a collision: |
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
181 |
[exBegin] |
13896 | 182 |
|hashStream| |
183 |
||
184 |
hashStream := MD5Stream new. |
|
185 |
hashStream nextPut:(ByteArray fromHexStringWithSeparators:' |
|
186 |
d131dd02c5e6eec4693d9a0698aff95c 2fcab58712467eab4004583eb8fb7f89 |
|
187 |
55ad340609f4b30283e488832571415a 085125e8f7cdc99fd91dbdf280373c5b |
|
188 |
d8823e3156348f5bae6dacd436c919c6 dd53e2b487da03fd02396306d248cda0 |
|
189 |
e99f33420f577ee8ce54b67080a80d1e c69821bcb6a8839396f9652b6ff72a70'). |
|
190 |
hashStream hashValue printOn:Transcript base:16. Transcript cr. |
|
191 |
hashStream reset. |
|
192 |
||
193 |
hashStream nextPut:(ByteArray fromHexStringWithSeparators:' |
|
194 |
d131dd02c5e6eec4693d9a0698aff95c 2fcab50712467eab4004583eb8fb7f89 |
|
195 |
55ad340609f4b30283e4888325f1415a 085125e8f7cdc99fd91dbd7280373c5b |
|
196 |
d8823e3156348f5bae6dacd436c919c6 dd53e23487da03fd02396306d248cda0 |
|
197 |
e99f33420f577ee8ce54b67080280d1e c69821bcb6a8839396f965ab6ff72a70'). |
|
198 |
hashStream hashValue printOn:Transcript base:16. Transcript cr. |
|
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
199 |
[exEnd] |
13896 | 200 |
|
6864 | 201 |
timing throughput: |
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
202 |
[exBegin] |
6864 | 203 |
|hashStream n t| |
204 |
||
205 |
hashStream := MD5Stream new. |
|
206 |
n := 1000000. |
|
207 |
t := Time millisecondsToRun:[ |
|
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
208 |
n timesRepeat:[ |
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
209 |
hashStream nextPutAll:'12345678901234567890123456789012345678901234567890'. |
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
210 |
]. |
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
211 |
]. |
6864 | 212 |
t := (t / 1000) asFloat. |
213 |
Transcript show:t; show:' seconds for '; show:(50*n/1024) asFloat; showCR:' Kb'. |
|
214 |
Transcript show:(n*50/1024 / t); showCR:' Kb/s' |
|
14667
f6a830b971f3
care for externalAddress being NULL before accessing an external buffer's contents
Claus Gittinger <cg@exept.de>
parents:
13932
diff
changeset
|
215 |
[exEnd] |
7041 | 216 |
" |
6864 | 217 |
! ! |
218 |
||
219 |
!MD5Stream class methodsFor:'initialization'! |
|
220 |
||
221 |
initialize |
|
222 |
|ctxSize| |
|
223 |
||
224 |
%{ |
|
8913 | 225 |
ctxSize = __mkSmallInteger(sizeof(MD5_CTX)); |
6864 | 226 |
%}. |
227 |
ContextSize := ctxSize. |
|
228 |
HashSize := 16. |
|
229 |
||
230 |
" |
|
231 |
self initialize |
|
232 |
" |
|
233 |
||
234 |
||
235 |
||
236 |
! ! |
|
237 |
||
238 |
!MD5Stream class methodsFor:'queries'! |
|
239 |
||
15624
11ce1e9cf098
Rename #blockSize to #hashBlockSize
Stefan Vogel <sv@exept.de>
parents:
14787
diff
changeset
|
240 |
hashBlockSize |
6864 | 241 |
"return the block size used internally by the compression function" |
15624
11ce1e9cf098
Rename #blockSize to #hashBlockSize
Stefan Vogel <sv@exept.de>
parents:
14787
diff
changeset
|
242 |
|
6864 | 243 |
^ 64 |
244 |
||
245 |
"Created: / 18.3.1999 / 08:36:44 / stefan" |
|
246 |
! |
|
247 |
||
248 |
hashSize |
|
249 |
"return the size of the hashvalue returned by instances of this class" |
|
250 |
||
251 |
^ HashSize |
|
252 |
||
253 |
"Created: / 18.3.1999 / 08:02:16 / stefan" |
|
254 |
! ! |
|
255 |
||
256 |
!MD5Stream methodsFor:'initialization'! |
|
257 |
||
258 |
initialize |
|
259 |
||
260 |
hashContext := ByteArray new:ContextSize. |
|
261 |
self reset. |
|
262 |
||
263 |
"Modified: / 18.3.1999 / 08:03:42 / stefan" |
|
264 |
! ! |
|
265 |
||
266 |
!MD5Stream methodsFor:'positioning'! |
|
267 |
||
268 |
reset |
|
269 |
"reset the stream in order to compute a new hash value" |
|
270 |
||
271 |
%{ |
|
14723 | 272 |
if (__isByteArray(__INST(hashContext)) && |
6864 | 273 |
__byteArraySize(__INST(hashContext)) == sizeof(MD5_CTX) |
274 |
) { |
|
14723 | 275 |
MD5_CTX *ctx = (MD5_CTX *)__ByteArrayInstPtr(__INST(hashContext))->ba_element; |
6864 | 276 |
|
277 |
MD5Init(ctx); |
|
278 |
RETURN(self); |
|
279 |
} |
|
280 |
%}. |
|
281 |
^ self primitiveFailed |
|
282 |
||
283 |
||
284 |
||
285 |
! ! |
|
286 |
||
287 |
!MD5Stream methodsFor:'queries'! |
|
288 |
||
289 |
hashValue |
|
290 |
"Get the value hashed so far. |
|
291 |
The context is kept, so that more objects may be hashed after |
|
292 |
retrieving a hash value" |
|
293 |
||
294 |
||
295 |
|digest| |
|
296 |
||
297 |
digest := ByteArray new:HashSize. |
|
298 |
||
299 |
%{ |
|
14723 | 300 |
if (__isByteArray(__INST(hashContext)) && |
6864 | 301 |
__byteArraySize(__INST(hashContext)) == sizeof(MD5_CTX) && |
14723 | 302 |
__isByteArray(digest) && |
6864 | 303 |
__byteArraySize(digest) == 16 |
304 |
) { |
|
14723 | 305 |
MD5_CTX *ctx = (MD5_CTX *)__ByteArrayInstPtr(__INST(hashContext))->ba_element; |
6864 | 306 |
MD5_CTX copyContext; |
307 |
||
308 |
memcpy(©Context, ctx, sizeof(copyContext)); |
|
309 |
MD5Final(__ByteArrayInstPtr(digest)->ba_element, ©Context); |
|
310 |
RETURN(digest); |
|
311 |
} |
|
312 |
%}. |
|
313 |
||
12265 | 314 |
^ self primitiveFailed |
6864 | 315 |
! ! |
316 |
||
317 |
!MD5Stream methodsFor:'writing'! |
|
318 |
||
7042 | 319 |
nextPutBytes:count from:anObject startingAt:start |
320 |
"update the hash value with count bytes from an object starting at index start. |
|
12265 | 321 |
The object must have non-pointer indexed instvars |
7042 | 322 |
(i.e. be a ByteArray, String, Float- or DoubleArray), |
323 |
or an externalBytes object (with known size)" |
|
324 |
||
325 |
%{ |
|
14723 | 326 |
INT len, offs; |
327 |
INT objSize; |
|
15988 | 328 |
int nInstBytes; |
7042 | 329 |
char *extPtr; |
330 |
||
14723 | 331 |
if (__isByteArray(__INST(hashContext)) |
7042 | 332 |
&&__byteArraySize(__INST(hashContext)) == sizeof(MD5_CTX) |
333 |
&& __bothSmallInteger(count, start) |
|
7197
a68adb223592
also handle subclasses of ExternalBytes (Mapped..)
Claus Gittinger <cg@exept.de>
parents:
7042
diff
changeset
|
334 |
) { |
15988 | 335 |
MD5_CTX *ctx = (MD5_CTX *)__ByteArrayInstPtr(__INST(hashContext))->ba_element; |
7042 | 336 |
|
15988 | 337 |
len = __intVal(count); |
338 |
offs = __intVal(start) - 1; |
|
7042 | 339 |
|
15988 | 340 |
if (__isExternalBytesLike(anObject)) { |
341 |
OBJ sz; |
|
7042 | 342 |
|
15988 | 343 |
nInstBytes = 0; |
344 |
extPtr = (char *)__externalBytesAddress(anObject); |
|
345 |
if (extPtr == (char *)0) goto bad; |
|
346 |
sz = __externalBytesSize(anObject); |
|
347 |
if (__isSmallInteger(sz)) { |
|
348 |
objSize = __intVal(sz); |
|
349 |
} else { |
|
350 |
objSize = 0; /* unknown */ |
|
351 |
} |
|
352 |
} else { |
|
353 |
OBJ oClass = __Class(anObject); |
|
354 |
int nInstVars = __intVal(__ClassInstPtr(oClass)->c_ninstvars); |
|
7197
a68adb223592
also handle subclasses of ExternalBytes (Mapped..)
Claus Gittinger <cg@exept.de>
parents:
7042
diff
changeset
|
355 |
|
16003 | 356 |
nInstBytes = OHDR_SIZE + __OBJS2BYTES__(nInstVars); |
15988 | 357 |
switch (__intVal(__ClassInstPtr(oClass)->c_flags) & ARRAYMASK) { |
358 |
case BYTEARRAY: |
|
359 |
case WORDARRAY: |
|
360 |
case LONGARRAY: |
|
361 |
case SWORDARRAY: |
|
362 |
case SLONGARRAY: |
|
363 |
case FLOATARRAY: |
|
15992 | 364 |
break; |
15988 | 365 |
case DOUBLEARRAY: |
366 |
#ifdef __NEED_DOUBLE_ALIGN |
|
367 |
nInstBytes = (nInstBytes-1+__DOUBLE_ALIGN) &~ (__DOUBLE_ALIGN-1); |
|
368 |
#endif |
|
369 |
break; |
|
370 |
case LONGLONGARRAY: |
|
371 |
case SLONGLONGARRAY: |
|
372 |
#ifdef __NEED_LONGLONG_ALIGN |
|
373 |
nInstBytes = (nInstBytes-1+__LONGLONG_ALIGN) &~ (__LONGLONG_ALIGN-1); |
|
374 |
#endif |
|
15992 | 375 |
break; |
15988 | 376 |
default: |
377 |
goto bad; |
|
378 |
} |
|
379 |
// nInstBytes is the number of bytes occupied by pointer instance variables |
|
380 |
// subtract from size and add to byte-pointer |
|
16003 | 381 |
objSize = __Size(anObject) - nInstBytes; |
16008 | 382 |
extPtr = (char *)anObject + nInstBytes; |
15988 | 383 |
} |
384 |
if ((offs >= 0) && (len >= 0) && (objSize >= (len + offs))) { |
|
385 |
MD5Update(ctx, extPtr+offs, len); |
|
386 |
RETURN (count); |
|
387 |
} |
|
7042 | 388 |
} |
389 |
bad: ; |
|
390 |
%}. |
|
391 |
||
392 |
^ self primitiveFailed |
|
6864 | 393 |
! ! |
394 |
||
395 |
!MD5Stream class methodsFor:'documentation'! |
|
396 |
||
397 |
version |
|
16008 | 398 |
^ '$Header: /cvs/stx/stx/libbasic/MD5Stream.st,v 1.31 2014-02-12 15:25:16 stefan Exp $' |
12204 | 399 |
! |
400 |
||
401 |
version_CVS |
|
16008 | 402 |
^ '$Header: /cvs/stx/stx/libbasic/MD5Stream.st,v 1.31 2014-02-12 15:25:16 stefan Exp $' |
6864 | 403 |
! ! |
404 |
||
14716 | 405 |
|
6864 | 406 |
MD5Stream initialize! |