keygen

suspend fun keygen(roomUuid: RoomUUID, numParties: Int, threshold: Int, keygenInitKeypair: KeygenPrivateKey, keygenIds: Array<KeygenID>): Pair<Ed25519PublicKey, ExportableEd25519SecretShare>

This is the main key generation function used in the Scheme interface. For ExportableEd25519, it's recommended to use sampleKey and receiveKey directly instead, as they better represent the asymmetric nature of the protocol.

This implementation calls sampleKey internally.