just search libbitcoin and weak random number generator.. https://bitcointalk.org/index.php?topic=5462652.0