generateKeyPair

open suspend override fun generateKeyPair(type: KeyType): KeyPair(source)

ML-KEM.KeyGen (FIPS 203 Algorithm 19) or ML-DSA.KeyGen (FIPS 204 Algorithm 1), with the seed as private key.