HAS-160 Hash Generator

Calculate a HAS-160 digest of text or a file’s original bytes using the selected output settings.

Input: Text (UTF-8) or original file bytesResult: Text

Text input

Run to see the result

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

a

Expected answer

4872bcbc4cd0f0a9dc7c2f7045e5b43b6c830db8
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

abc

Expected answer

975e810488cf2a3d49838478124afce4b1c78804
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 digest

Expected answer

2338dbc8638d31225f73086246ba529f96710bc6
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

abcdefghijklmnopqrstuvwxyz

Expected answer

596185c9ab6703d0d0dbb98702bc0f5729cd1d3c
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

ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789

Expected answer

cb5d7efbca2f02e0fb7167cabb123af5795764e5
Rounds
80
HAS-160

Input

Hello, World!

Expected answer

8f6dd8d7c8a04b1cb3831adc358b1e4ac2ed5984
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

Related tools

Browse hashing tools