mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-21 10:27:26 +08:00
* v2.1.0 [omit consensus and adjacent] - this commit will be amended with the full release after the file copy is complete * 2.1.0 main node rollup
18 lines
343 B
Go
18 lines
343 B
Go
// -*- go -*-
|
|
|
|
package main
|
|
|
|
import (
|
|
"crypto/sha512"
|
|
)
|
|
|
|
// @Hex
|
|
// @Test 0 0 = 0x257ebf75d3818e9de4f8b56f0272e452e8c9d6353ae9fbe284f950b3f79fc8027d171e0cb6e0029de0655a9ff90800db6574e25da5071a541f48a78b79514927
|
|
func main(g, e byte) []byte {
|
|
var data [110]byte
|
|
data[0] = 0x6d
|
|
data[1] = 0x74
|
|
data[2] = 0x72
|
|
return sha512.Sum512(data[:])
|
|
}
|