libs5-go/types/hash.go

14 lines
209 B
Go
Raw Normal View History

2024-01-03 08:46:30 +00:00
package types
type HashType int
const (
HashTypeBlake3 HashType = 0x1f
HashTypeEd25519 HashType = 0xed
)
2024-01-03 08:57:39 +00:00
var HashTypeMap = map[HashType]string{
HashTypeBlake3: "Blake3",
HashTypeEd25519: "Ed25519",
}