0

Encoded

SHA-1

About SHA-1

SHA-1 is a cryptographic hash function that generates a 160-bit hash value from data of any length. It was once widely used, but because it now has collision-resistance weaknesses, it is not recommended for new cryptographic use.

In DenCode, the entered text is treated as a byte sequence in the selected character encoding, and the SHA-1 hash value is displayed as 40 hexadecimal digits.

For example, the SHA-1 hash value of "Hello, world!" is as follows.

943a702d06f34599aee1f8da8ef9f7296031d699

Hash value characteristics

SHA-1 always generates the same hash value from the same input. If the input changes even slightly, the output hash value changes significantly.

A hash function is a one-way function, so the original input data cannot be restored from the hash value.

InputSHA-1 hash value
Hello, world!943a702d06f34599aee1f8da8ef9f7296031d699
Hello, world?1a77cb7c956ca25b14950285c79f0686ae1f0058

It may be used for compatibility with existing systems, but for new use cases, consider SHA-256 or a stronger hash function.