Current standard for hash function security parameter? When designing a hash function, what should be the secure input and output lengths? In particular, what lengths do I need for collision resistance?
Hashes should work on any number of input bits (almost all I/O parameters in cryptography are defined in bits). The output size for collision resistance should be twice the security level. So for a 128 bit level, use 256 bit hashes.