Content deleted Content added
"is secure" -> "is considered secure" |
|||
Line 7:
If a block cipher has a [[Block size (cryptography)|block size]] of say 128 bits most of the methods create a hash function that has the block size of 128 bits and produces a hash of 128 bits. But there are also methods to make hashes with double the hash size compared to the block size of the block cipher used. So a 128-bit block cipher can be turned into a 256-bit hash function.
The hash function is considered secure if the following conditions are met:
* The block cipher is secure.
* The resulting hash size is big enough. 64-bit is too small, 128-bit might be enough.
|