# HG changeset patch # User Claus Gittinger # Date 1359130313 -3600 # Node ID 8a6c43a26ca1d6013114ac8521c27aec0ce3f3df # Parent cebd5cc86824399f2d5f40add4e726b1567318ef class: SHA1Stream comment/format in: #documentation diff -r cebd5cc86824 -r 8a6c43a26ca1 SHA1Stream.st --- a/SHA1Stream.st Fri Jan 25 14:34:56 2013 +0100 +++ b/SHA1Stream.st Fri Jan 25 17:11:53 2013 +0100 @@ -308,27 +308,28 @@ This may be used as checksum or for generating cryptographic signatures. Notice (2005): - Be aware that SHA-1 is considered broken and may not be appropriate in some applications. - Especially it should no longer be used for security stuff. + Be aware that SHA-1 is considered broken and may not be appropriate in some applications. + Especially it should no longer be used for security stuff. performance: roughly - 47400 Kb/s on a 2Ghz Duo - 9580 Kb/s on a 400Mhz PIII - 3970 Kb/s on a 300Mhz Sparc + 47400 Kb/s on a 2Ghz Duo + 9580 Kb/s on a 400Mhz PIII + 3970 Kb/s on a 300Mhz Sparc [author:] - Stefan Vogel + Stefan Vogel [see also:] - MD5Stream SHA256Stream SHA512Stream + MD5Stream + SHA256Stream SHA512Stream (in libcrypt) [class variables:] - HashSize size of returned hash value - ContextSize (implementation) size of hash context + HashSize size of returned hash value + ContextSize (implementation) size of hash context [instance variables:] - hashContext (implementation) - internal buffer for computation of the hash value + hashContext (implementation) + internal buffer for computation of the hash value " ! @@ -575,11 +576,12 @@ !SHA1Stream class methodsFor:'documentation'! version - ^ '$Header: /cvs/stx/stx/libbasic/SHA1Stream.st,v 1.31 2013-01-21 13:58:22 cg Exp $' + ^ '$Header: /cvs/stx/stx/libbasic/SHA1Stream.st,v 1.32 2013-01-25 16:11:53 cg Exp $' ! version_CVS - ^ '$Header: /cvs/stx/stx/libbasic/SHA1Stream.st,v 1.31 2013-01-21 13:58:22 cg Exp $' + ^ '$Header: /cvs/stx/stx/libbasic/SHA1Stream.st,v 1.32 2013-01-25 16:11:53 cg Exp $' ! ! + SHA1Stream initialize!