aboutsummaryrefslogtreecommitdiff
path: root/pkg/types/crypto.go
blob: 8660c271b10faa9984209dc075a589afd2c78b02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package types

import (
	"crypto/ed25519"
)

const (
	SignatureSize = ed25519.SignatureSize
	PublicKeySize = ed25519.PublicKeySize
)

type (
	Signature [SignatureSize]byte
	PublicKey [PublicKeySize]byte
)