Hashing Algorithms With Corresponding Hash Lengths
When you store a password hash in a MYSQL database, you need to make sure you set the correct size for you hash column:
- md2: 32
- md4: 32
- md5: 32
- sha1: 40
- sha256: 64
- sha384: 96
- sha512: 128
- ripemd128: 32
- ripemd160: 40
- ripemd256: 64
- ripemd320: 80
- whirlpool: 128
- tiger128,3: 32
- tiger160,3: 40
- tiger192,3: 48
- tiger128,4: 32
- tiger160,4: 40
- tiger192,4: 48
- snefru: 64
- gost: 64
- adler32: 8
- crc32: 8
- crc32b: 8
- haval128,3: 32
- haval160,3: 40
- haval192,3: 48
- haval224,3: 56
- haval256,3: 64
- haval128,4: 32
- haval160,4: 40
- haval192,4: 48
- haval224,4: 56
- haval256,4: 64
- haval128,5: 32
- haval160,5: 40
- haval192,5: 48
- haval224,5: 56
- haval256,5: 64