mirror of
https://github.com/harness/drone.git
synced 2025-05-19 02:20:03 +08:00
8 lines
167 B
Go
8 lines
167 B
Go
package crypto
|
|
|
|
// KeyExchange manages the exchange of keys
|
|
type KeyExchange interface {
|
|
PublicKey() []byte
|
|
CalculateSharedKey(otherPublic []byte) ([]byte, error)
|
|
}
|