go-ethereum/pow/dash/crypto.go

15 lines
218 B
Go
Raw Normal View History

2015-01-12 11:19:27 +02:00
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)
}