'What is the value range of SHA2_256 (SHA2_256())?

Use the SHA2_256 function to calculate its possible values.

That is, SHA2_256(S), S is a positive integer from 0 to 2^256, that is, all possible values ​​of 256-bit binary numbers.

Calculated to obtain a value range, which also belongs to 0 to 2^256, but some values ​​may be mapped many times, and some may not be mapped.

What is the proportion of the mapped values ​​in the entire range of 0 to 2^256?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source