SHA1Stream.st
branchjv
changeset 21246 958aa6e341d4
parent 19412 1e842c25e51e
parent 21152 4f99d04d9ae4
equal deleted inserted replaced
21245:4a39cfd57230 21246:958aa6e341d4
   310     Generate a SHA-1 hash value as defined in
   310     Generate a SHA-1 hash value as defined in
   311     NIST, FIPS PUB 180-1: Secure Hash Standard, April 1995.
   311     NIST, FIPS PUB 180-1: Secure Hash Standard, April 1995.
   312     This may be used as checksum or for generating cryptographic signatures.
   312     This may be used as checksum or for generating cryptographic signatures.
   313 
   313 
   314     Notice (2005):
   314     Notice (2005):
   315 	Be aware that SHA-1 is considered broken and may not be appropriate in some applications.
   315         Be aware that SHA-1 is considered broken and may not be appropriate in some applications.
   316 	Especially it should no longer be used for security stuff.
   316         Especially it should no longer be used for security stuff.
   317 
   317 
   318     performance: roughly
   318     performance: roughly
   319 	  120400 Kb/s on a 2.5Ghz 64X2 Athlon 4800+ (64bit)
   319           150 Mb/s on a 2007 MAC Powerbook (2.6Ghz I7-Duo)
   320 	   47400 Kb/s on a 2Ghz Duo (old measure)
   320           120400 Kb/s on a 2.5Ghz 64X2 Athlon 4800+ (64bit)
   321 	    9580 Kb/s on a 400Mhz PIII
   321            47400 Kb/s on a 2Ghz Duo (old measure)
   322 	    3970 Kb/s on a 300Mhz Sparc
   322             9580 Kb/s on a 400Mhz PIII
       
   323             3970 Kb/s on a 300Mhz Sparc
   323 
   324 
   324     [author:]
   325     [author:]
   325 	Stefan Vogel
   326         Stefan Vogel
   326 
   327 
   327     [see also:]
   328     [see also:]
   328 	MD5Stream
   329         MD5Stream
   329 	SHA256Stream SHA512Stream (in libcrypt)
   330         SHA256Stream SHA512Stream (in libcrypt)
   330 
   331 
   331     [class variables:]
   332     [class variables:]
   332 	HashSize        size of returned hash value
   333         HashSize        size of returned hash value
   333 	ContextSize     (implementation) size of hash context
   334         ContextSize     (implementation) size of hash context
   334 
   335 
   335     [instance variables:]
   336     [instance variables:]
   336 	hashContext     (implementation)
   337         hashContext     (implementation)
   337 			internal buffer for computation of the hash value
   338                         internal buffer for computation of the hash value
   338 "
   339 "
   339 !
   340 !
   340 
   341 
   341 examples
   342 examples
   342 "
   343 "