mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-22 02:47:26 +08:00
19 lines
349 B
Go
19 lines
349 B
Go
// -*- go -*-
|
|
|
|
package main
|
|
|
|
import (
|
|
"crypto/sha512"
|
|
)
|
|
|
|
// @Hex
|
|
// @LSB
|
|
// @Test 0 0 = 0xddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f
|
|
func main(g, e byte) []byte {
|
|
var data [3]byte
|
|
data[0] = 0x61
|
|
data[1] = 0x62
|
|
data[2] = 0x63
|
|
return sha512.Sum512(data[:])
|
|
}
|