Add probability equation to README

This commit is contained in:
Zipdox2 2024-11-07 00:50:13 +01:00 committed by GitHub
parent 5172c0fd71
commit b99661478c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -89,8 +89,16 @@ performance-related tips.
Because of probablistic nature of brute force key generation, and Because of probablistic nature of brute force key generation, and
varience of hardware it's going to run on, it's hard to make promisses varience of hardware it's going to run on, it's hard to make promisses
about how long it's going to take, especially when the most of users about how long it's going to take, especially when most users want
want just a few keys.\ just a few keys.
The probabilty can be calculated with this equation:\
$T={32^N \over H}$\
where:\
*T* is the average time to a match.\
*N* is the length of the filter.\
*H* is the number of calculations per second.
See [this issue][#27] for very valuable discussion about this.\ See [this issue][#27] for very valuable discussion about this.\
If your machine is powerful enough, 6 character prefix shouldn't take If your machine is powerful enough, 6 character prefix shouldn't take
more than few tens of minutes, if using batch mode (read more than few tens of minutes, if using batch mode (read