crypto.go 218 B

1234567891011121314
  1. package dash
  2. /*
  3. char *sha3_cgo(char *, int); // Forward declaration
  4. */
  5. import "C"
  6. import (
  7. "github.com/ethereum/go-ethereum/crypto"
  8. )
  9. //export Sha3
  10. func Sha3(data []byte, l int) []byte {
  11. return crypto.Sha3(data)
  12. }