mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-23 11:57:17 +00:00
15 lines
218 B
Go
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)
|
|
}
|