1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-10 11:27:26 -05:00
v2fly/vendor/github.com/lucas-clemente/quic-go/internal/crypto/key_exchange.go
2018-11-21 10:49:41 +01:00

8 lines
167 B
Go

package crypto
// KeyExchange manages the exchange of keys
type KeyExchange interface {
PublicKey() []byte
CalculateSharedKey(otherPublic []byte) ([]byte, error)
}