On Mon, 2010-11-15 at 19:58 +0800, Herbert Xu wrote: > Tomas Mraz <tmraz@xxxxxxxxxx> wrote: > > > > This would not be a 'hashing' algorithm but a simple block encryption > > algorithm in the ECB mode with the random key initialized at boot. The > > problem here is that the standard block ciphers have at least 64 bit > > block length as smaller block length ciphers would not be secure for > > general purpose uses. You would have to take an existing block cipher > > algorithm and modify it to achieve the smaller block length. > > If block sizes are a problem then we have stream ciphers too. But you obviously cannot use a stream cipher as ECB cipher which is what Dan needs here. -- Tomas Mraz No matter how far down the wrong road you've gone, turn back. Turkish proverb -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html