encapsulate()
Generates and encapsulates a shared secret.
Declaration
func encapsulate() throws -> KEM.EncapsulationResultReturn Value
An encapsulated shared secret, that you decapsulate by calling decapsulate(_:) on the corresponding private key.
Generates and encapsulates a shared secret.
func encapsulate() throws -> KEM.EncapsulationResultAn encapsulated shared secret, that you decapsulate by calling decapsulate(_:) on the corresponding private key.