Versions in this module Expand all Collapse all v0 v0.2.1 Jan 29, 2020 Changes in this version + const MessageSize + type GenConfirmer interface + Confirm func() error + Gen func() ([][]byte, error) + type Logger interface + Print func(args ...interface{}) + Printf func(format string, args ...interface{}) + type MissingMessage interface + MissingMessage func() + type Session struct + Pk ed25519.PublicKey + Sk ed25519.PrivateKey + func NewSession(random io.Reader, log Logger, pairCommitment []byte, mixes int) (*Session, error) + func (s *Session) DiceMix(ctx context.Context, conn net.Conn, genConf GenConfirmer) error