SHA1 is message-digest algorithm, which takes an input message of any length < 2^64 bits and produces a 160-bit output as the message digest.