commitment

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommitment

func GetCommitment(jwk *jws.JWK, multihashCode uint) (string, error)

GetCommitment will calculate commitment from JWK.

func GetCommitmentFromRevealValue

func GetCommitmentFromRevealValue(rv string) (string, error)

GetCommitmentFromRevealValue will calculate commitment from reveal value.

func GetRevealValue

func GetRevealValue(jwk *jws.JWK, multihashCode uint) (string, error)

GetRevealValue will calculate reveal value from JWK.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL