Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPublicKey ¶
Deduces the public key given a private key.
func Hash ¶
Computes the StarkWare version of the Pedersen hash of x and y. Full specification of the hash function can be found here: https://docs.starkware.co/starkex-docs/crypto/pedersen-hash-function
func Sign ¶
Signs the given message hash with the provided private_key, with randomness k.
NOTE: k should be a strong cryptographical random, and not repeat. See: https://tools.ietf.org/html/rfc6979.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.