Try to use window.crypto.getRandomValues on client.