Use window.msCrypt.getRadnomValues() on windows