@blockchaincommons/components - v1.0.0-beta.4
    Preparing search index...

    Function generateKeypair

    • A fresh PrivateKeys/PublicKeys pair: a signing key and an encapsulation key in the chosen schemes (keypair_opt, or keypair_opt_using with rng). The signing pair is made first, then the encapsulation pair, drawing from rng in that order; a post-quantum scheme with rng throws General at its turn, as the reference does.

      Parameters

      Returns [PrivateKeys, PublicKeys]