WHIRLPOOL is a cryptographic one-wayhash function designed by Vincent Rijmen and Paulo S. L. M. Barreto. It is a hash designed after the Square block cipher. Whirlpool is a Miyaguchi-Preneel construction based on a substantially modified Advanced Encryption Standard. Given a message less than 2256 bits in length, it returns a 512-bit message digest.