pre-pow
This commit is contained in:
14
pow/dash/crypto.go
Normal file
14
pow/dash/crypto.go
Normal file
@ -0,0 +1,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)
|
||||
}
|
Reference in New Issue
Block a user