const DigestHexLen, MinSecretLen, MaxSecretLen, SealDomain, SeedDomain
1const (
2 // DigestHexLen is the length of a hex-encoded SHA-256 digest.
3 DigestHexLen = 64
4
5 // MinSecretLen is the shortest secret a reveal may carry. Shorter secrets
6 // are guessable from the public seal and would let a watcher brute-force
7 // an entrant's reveal before it lands.
8 MinSecretLen = 16
9
10 // MaxSecretLen bounds how much a single reveal may store on chain.
11 MaxSecretLen = 256
12
13 // SealDomain is the domain-separation tag of the sealing format.
14 SealDomain = "fairdrop/seal/v1"
15
16 // SeedDomain is the domain-separation tag of the seed fold.
17 SeedDomain = "fairdrop/seed/v1"
18)