SHA-1 长度总是 40 个符号吗?

Is SHA-1 length always 40 symbols?

我正在使用 crypto 库来创建 SHA1 哈希:

crypto.createHash('sha1').update(hashValue).digest('hex')

典型的结果是a9993e364706816aba3e25717850c26c9cd0d89d。此散列的长度为 40 个字符。那么 result 的长度总是 40 吗?

SHA-1 produces a 160-bit (20-byte) hash value known as a message digest. A SHA-1 hash value is typically rendered as a hexadecimal number, 40 digits long.

https://en.wikipedia.org/wiki/SHA-1