{"ScriptPreparationCode":null,"TestCases":[{"Name":"Math.random","Code":"return Math.floor(Math.random() * 50000)","IsDeferred":false},{"Name":"crypto.getRandomValues","Code":"const range = 5000\r\nconst randomBuffer = new Uint32Array(1);\r\nwindow.crypto.getRandomValues(randomBuffer);\r\nconst randomNumber = randomBuffer[0];\r\nconst scaledRandomNumber = Math.floor(randomNumber / (Math.pow(2, 32) / range));\r\nreturn scaledRandomNumber;\r\n","IsDeferred":false}]}