Re:The SHA256 for this sentence begins with: one, eight, two...
by thehappypm on Monday September 11, 2023 @07:25PM
(#37475039)
The probability is 1/e
Re:The SHA256 for this sentence begins with: one, eight, two...
by Dylan16807 on Tuesday September 12, 2023 @01:44AM
(#37477258)
The probability of missing is 1/e
There are N possible sequences, and you try N times with a success probability of 1/N each (because it is a good hash function). This means the expected number of hits is 1.