Documentation ¶ Index ¶ func New(nullifier string, index uint64) string func NewMany(nullifier string, count, index uint64) []string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(nullifier string, index uint64) string New generates a new deterministic referral ID from nullifier and index. func NewMany ¶ func NewMany(nullifier string, count, index uint64) []string NewMany generates a bunch of referral IDs for a single nullifier with incrementing index. Specify non-zero index argument to start from a specific index, this is useful when you have stored referral IDs for this nullifier previously. Types ¶ This section is empty. Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.