decapsulate(_:)
Decapsulated a shared secret.
Declaration
func decapsulate<D>(_ encapsulated: D) throws -> SymmetricKey where D : DataProtocolParameters
- encapsulated:
An encapsulated shared secret, that you get by calling Encapsulate() on the corresponding public key.
Return Value
The shared secret.