code: function generateKeyPair (name, { output }) {
    const { publicKey, secretKey } = Crypto.generateKeyPair()
  
    const data = [
      [path.join(output, name), secretKey],
      [path.join(output, `${name}.pub`), publicKey]
    ]
  
    data.forEach(([path, data]) => {
      fs.writeFileSync(path, data)
      console.log(`Wrote ${path}`)
    })
  }
docs: ## Key Pair Generation