blob: 9b71f050dfc6de7c9f7eaa7ddc381cfb4cacbd51 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
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
}
|