Coding task · Blockchain and Web3 course · Module 2: Cryptography

Secure Randomness

Show how to generate secure random numbers in JavaScript.

Task

Complete the secureRandom function using crypto.getRandomValues