center grid, add secure PRNG polyfill
use secure random to pass Fortify tests
more work to ensure proper randomness