Contents

generate()

Generates a new random private key.

Declaration

static func generate() throws -> Self

Return Value

The generated private key.

Discussion

Give the publicKey to another person so that they can encapsulate shared secrets that you recover by calling decapsulate(_:).