erigon-pulse/pow/dash/crypto.go
2015-01-12 10:19:27 +01:00

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)
}