class KeyPair
KeyPair represents a public and private key.
fun publicKey(): PublicKey!
Generate a new random key pair
static fun random(): KeyPair!
fun secretKey(): SecretKey!