status-im/status-go

View on GitHub
eth-node/types/negotiated_secret.go

Summary

Maintainability
A
0 mins
Test Coverage
package types

import (
    "crypto/ecdsa"
)

// NegotiatedSecret represents a negotiated secret (both public and private keys)
type NegotiatedSecret struct {
    PublicKey *ecdsa.PublicKey
    Key       []byte
}