little convenience fn for converting arbitrarty ints into byte arrays
using the pid/env vars to add more entropy to the random seed. also, instead of just shoving the OS random bytes and PID and ENV all into the seed directly, we now SHA256 it. this lets us pile in as much entropy as we can but sitll get a nice 32-byte seed.