Versions in this module Expand all Collapse all v0 v0.1.0 Aug 12, 2026 Changes in this version + const DeckSize + func Decode(m *big.Int) int + func EncryptAll(key Key, deck []*big.Int) []*big.Int + func FreshDeck() []*big.Int + func Marshal(deck []*big.Int) [][]byte + func Shuffle(deck []*big.Int) error + func Token(i int) *big.Int + func Unmarshal(raw [][]byte) []*big.Int + func VerifyDeck(deck []*big.Int, a, b Key) bool + type Key struct + func KeyFromExponent(k *big.Int) (Key, bool) + func NewKey() (Key, error) + func (key Key) Decrypt(c *big.Int) *big.Int + func (key Key) Encrypt(m *big.Int) *big.Int + func (key Key) Exponent() *big.Int