Documentation ¶ Index ¶ func Commit(amount, timestamp int64, counter uint64, g, h *ed25519.Point, negateHash bool) ([]byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Commit ¶ func Commit(amount, timestamp int64, counter uint64, g, h *ed25519.Point, negateHash bool) ([]byte, error) Commit generates a commitment from amount, timestamp, counter and the public key (ED25519 point) Commitment = r * G * amount_scalar * Hash(timestamp || counter) Types ¶ This section is empty. Source Files ¶ View all Source files commitment.go Click to show internal directories. Click to hide internal directories.