commitment

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: Apache-2.0 Imports: 7 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommitment added in v0.6.0

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

GetCommitment will calculate commitment from JWK.

func GetCommitmentFromRevealValue added in v0.6.0

func GetCommitmentFromRevealValue(rv string) (string, error)

GetCommitmentFromRevealValue will calculate commitment from reveal value.

func GetRevealValue added in v0.6.0

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