MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / IsEqual

Method IsEqual

crypto/asymmetric/keypair.go:109–111  ·  view source on GitHub ↗

IsEqual return true if two keys are equal.

(public *PublicKey)

Source from the content-addressed store, hash-verified

107
108// IsEqual return true if two keys are equal.
109func (k *PublicKey) IsEqual(public *PublicKey) bool {
110 return (*ec.PublicKey)(k).IsEqual((*ec.PublicKey)(public))
111}
112
113// Serialize is a function that converts a public key
114// to uncompressed byte array

Callers 2

TestPrivateKey_SerializeFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestPrivateKey_SerializeFunction · 0.36