mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-22 02:32:02 -08:00
12 lines
275 B
Go
12 lines
275 B
Go
package ecc
|
|
|
|
// KeySize is the size of EC keys (32) with the EC type byte prepended to it.
|
|
const KeySize int = 33
|
|
|
|
// ECPublicKeyable is an interface for all elliptic curve public keys.
|
|
type ECPublicKeyable interface {
|
|
Serialize() []byte
|
|
Type() int
|
|
PublicKey() [32]byte
|
|
}
|