Function createCurve

  • Generates and returns a KeyPair object using the Curve prefix. Curve KeyPairs can seal/open (encrypt/decrypt) payloads.

    Returns KeyPair

    The generated KeyPair object with Curve prefix.