const CardLen, DeckSize, DeckLen, ProofLen, PHex, CanonRootHex, tagCard, tagCommit, tagShufKey, tagCardKey, tagPerm
1const (
2 CardLen = 256
3 DeckSize = 52
4 DeckLen = CardLen * DeckSize
5 ProofLen = 6 * 32
6
7 // PHex is the RFC 3526 2048-bit MODP group (group 14) prime.
8 PHex = "ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74" +
9 "020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f1437" +
10 "4fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7ed" +
11 "ee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf05" +
12 "98da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb" +
13 "9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3b" +
14 "e39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf695581718" +
15 "3995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"
16
17 // CanonRootHex is the Merkle root of the canonical deck [m_0 .. m_51].
18 // TestCanonRoot recomputes it with crypto/modexp.
19 CanonRootHex = "cbbd0f99d1b6d995ea84edbcf80a62c245ea59240ccee3fde85b87bd35077030"
20
21 tagCard = "gno-poker/card/v1"
22 tagCommit = "gno-poker/commit/v1"
23 tagShufKey = "gno-poker/shufkey/v1"
24 tagCardKey = "gno-poker/cardkey/v1"
25 tagPerm = "gno-poker/perm/v1"
26)