mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
218 B
15 lines
218 B
10 years ago
|
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)
|
||
|
}
|