Been meaning to get round to this for a while: use CryptGenRandom to