aboutsummaryrefslogtreecommitdiffstats
path: root/pow/dash/crypto.go
blob: 0644a54ae5e60e5b80d49e4e6bfa77469c6e086b (plain) (blame)
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)
}