decapsulate(_:)
Decapsulate a shared secret.
Declaration
consuming func decapsulate(_ encapsulated: Data) throws -> SymmetricKeyParameters
- encapsulated:
An encapsulated shared secret, that you get by calling
XWingMLKEM768X25519/PublicKey/encapsulate()on the corresponding public key.
Return Value
The shared secret.