1 2 3 4 5 6 7 8 9 10 11 12 13 14
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) }