Examples
Published HAS160 vector: a
Published HAS160 vector: a. Inspect exact byte compatibility. A legacy digest or a passing fixture does not establish that an algorithm is suitable for new security designs.
Input
aExpected answer
4872bcbc4cd0f0a9dc7c2f7045e5b43b6c830db84872bcbc4cd0f0a9dc7c2f7045e5b43b6c830db8
- Rounds
80
Published HAS160 vector: abc
Published HAS160 vector: abc. Inspect exact byte compatibility. A legacy digest or a passing fixture does not establish that an algorithm is suitable for new security designs.
Input
abcExpected answer
975e810488cf2a3d49838478124afce4b1c78804975e810488cf2a3d49838478124afce4b1c78804
- Rounds
80
Published HAS160 vector: message digest
Published HAS160 vector: message digest. Inspect exact byte compatibility. A legacy digest or a passing fixture does not establish that an algorithm is suitable for new security designs.
Input
message digestExpected answer
2338dbc8638d31225f73086246ba529f96710bc62338dbc8638d31225f73086246ba529f96710bc6
- Rounds
80
Published HAS160 vector: abcdefghijklmnopqrstuvwxyz
Published HAS160 vector: abcdefghijklmnopqrstuvwxyz. Inspect exact byte compatibility. A legacy digest or a passing fixture does not establish that an algorithm is suitable for new security designs.
Input
abcdefghijklmnopqrstuvwxyzExpected answer
596185c9ab6703d0d0dbb98702bc0f5729cd1d3c596185c9ab6703d0d0dbb98702bc0f5729cd1d3c
- Rounds
80
Published HAS160 vector: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
Published HAS160 vector: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789. Inspect exact byte compatibility. A legacy digest or a passing fixture does not establish that an algorithm is suitable for new security designs.
Input
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789Expected answer
cb5d7efbca2f02e0fb7167cabb123af5795764e5cb5d7efbca2f02e0fb7167cabb123af5795764e5
- Rounds
80
HAS-160
Input
Hello, World!Expected answer
8f6dd8d7c8a04b1cb3831adc358b1e4ac2ed59848f6dd8d7c8a04b1cb3831adc358b1e4ac2ed5984
- Rounds
80
HAS-160 is used in the same way as SHA-1. First it divides input in blocks of 512 bits each and pads the final block. A digest function updates the intermediate hash value by processing the input blocks in turn. The message digest algorithm consists, by default, of 80 rounds.
Format reference: HAS-160 background and specification