HashStream.st
changeset 24924 3464cd58fed5
parent 24655 61503bc4f5e3
equal deleted inserted replaced
24923:ac315d062c23 24924:3464cd58fed5
   113 ! !
   113 ! !
   114 
   114 
   115 !HashStream class methodsFor:'queries'!
   115 !HashStream class methodsFor:'queries'!
   116 
   116 
   117 blockSize
   117 blockSize
   118     "return the block size when the hash is used by encryption/decryption.
   118     "return the block size (in bytes) when the hash is used by encryption/decryption.
   119      (see OfbCipherMode and CtrCipherMode)"
   119      (see OfbCipherMode and CtrCipherMode)"
   120 
   120 
   121     ^ self hashSize
   121     ^ self hashSize
   122 !
   122 !
   123 
   123 
   352 ! !
   352 ! !
   353 
   353 
   354 !HashStream methodsFor:'queries'!
   354 !HashStream methodsFor:'queries'!
   355 
   355 
   356 blockSize
   356 blockSize
   357     "the class knows about the basic block size"
   357     "the class knows about the basic block size (in bytes)"
   358 
   358 
   359     ^ self class blockSize
   359     ^ self class blockSize
   360 
   360 
   361     "Created: / 18.3.1999 / 10:17:02 / stefan"
   361     "Created: / 18.3.1999 / 10:17:02 / stefan"
   362 !
   362 !