mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-27 05:57:28 +00:00
15 lines
218 B
Go
15 lines
218 B
Go
package dash
|
|
|
|
/*
|
|
char *sha3_cgo(char *, int); // Forward declaration
|
|
*/
|
|
import "C"
|
|
import (
|
|
"github.com/ethereum/go-ethereum/crypto"
|
|
)
|
|
|
|
//export Sha3
|
|
func Sha3(data []byte, l int) []byte {
|
|
return crypto.Sha3(data)
|
|
}
|