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

Key Generation Simulation

Create a function that generates a key pair (simulation).

Task

Complete the generateKeyPair function that returns an object with privateKey and publicKey