static fun random(): KeyPair!
Generate a new key using a random generator.
Return KeyPair!: A randomly generated key pair.