Post
Topic
Board Development & Technical Discussion
Re: Bad signatures leading to 55.82152538 BTC theft (so far)
by
btcdrak
on 09/11/2013, 19:59:02 UTC
By the way its not really an upper limit: n+1 is a pretty valid private key, it's just that it's equal to 1 (as n+1 mod n == 1 mod n)
If you generate that way you will end up with keys which are not equiprobable. The difference from uniform is very small, but its a certificational weakness you should avoid.

Is the version of securerandom.js used at bitaddress.org safe? https://github.com/pointbiz/bitaddress.org/blob/master/src/securerandom.js