Documentation
¶
Index ¶
- func CreateParamsShielding()
- func CreateParamsTransfer()
- func CreateParamsUnshielding()
- func Init()
- func ProveShielding(rho [32]byte, pk [32]byte, value uint64) [584]byte
- func ProveTransfer(input_rho_1 [32]byte, input_sk_1 [32]byte, input_value_1 uint64, ...) [584]byte
- func ProveUnshielding(rho [32]byte, sk [32]byte, value uint64, tree_position uint64, ...) [584]byte
- func VerifyShielding(proof [584]byte, send_nf [32]byte, cm [32]byte, value uint64) bool
- func VerifyTransfer(proof [584]byte, anchor [32]byte, spend_nf_1 [32]byte, spend_nf_2 [32]byte, ...) bool
- func VerifyUnshielding(proof [584]byte, spend_nf [32]byte, rt [32]byte, value uint64) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateParamsShielding ¶
func CreateParamsShielding()
func CreateParamsTransfer ¶
func CreateParamsTransfer()
func CreateParamsUnshielding ¶
func CreateParamsUnshielding()
func ProveTransfer ¶
func ProveTransfer(input_rho_1 [32]byte, input_sk_1 [32]byte, input_value_1 uint64, input_tree_position_1 uint64, input_authentication_path_1 [29][32]byte, input_rho_2 [32]byte, input_sk_2 [32]byte, input_value_2 uint64, input_tree_position_2 uint64, input_authentication_path_2 [29][32]byte, output_rho_1 [32]byte, output_pk_1 [32]byte, output_value_1 uint64, output_rho_2 [32]byte, output_pk_2 [32]byte, output_value_2 uint64) [584]byte
func ProveUnshielding ¶
func VerifyShielding ¶
func VerifyTransfer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.