crypto

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: Apache-2.0 Imports: 4 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pedersen

func Pedersen(a *felt.Felt, b *felt.Felt) *felt.Felt

Pedersen implements the Pedersen hash based on the reference implementation.

func PedersenArray

func PedersenArray(elems ...*felt.Felt) *felt.Felt

PedersenArray implements Pedersen array hashing.

func StarknetKeccak

func StarknetKeccak(b []byte) (*felt.Felt, error)

StarknetKeccak implements Starknet keccak

Types

This section is empty.

Jump to

Keyboard shortcuts

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