crypto.Encapsulator.Encapsulate (method)
4 uses
crypto (current package)
crypto.go#L272: Encapsulate() (sharedKey, ciphertext []byte)
crypto/hpke
pq.go#L212: ssPQ, ctPQ := pk.pq.Encapsulate()
pq.go#L458: ss, ct := pk.pq.Encapsulate()
crypto/tls
key_schedule.go#L227: mlkemSharedSecret, mlkemKeyShare := mlkemPeerKey.Encapsulate()
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)