worked on this offline
convert to std::random bits.