private void GenKeypairButton_Click() { KeyPair pair = CryptoHandler.GenKeyPair(); pubKeyInput.Text = Convert.ToBase64String(pair.PublicKey); privKeyInput.Text = Convert.ToBase64String(pair.PrivateKey); }
private void GenKeypairButton_Click() { KeyPair pair = CryptoHandler.GenKeyPair(); pubKeyInput.Text = Convert.ToBase64String(pair.PublicKey); privKeyInput.Text = Convert.ToBase64String(pair.PrivateKey); }