ceremonyclient/bedlam/testsuite/crypto/sha512_block_block.qcl
Cassandra Heart dbd95bd9e9
v2.1.0 (#439)
* 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
2025-09-30 02:48:15 -05:00

18 lines
343 B
Go

// -*- go -*-
package main
import (
"crypto/sha512"
)
// @Hex
// @Test 0 0 = 0xeb627442f972d3df69591b22d8a26eadb115c1c82a3e00767c45e3776906f2fb70e487f9282a5193777579954b84e881dbaa1832960e66039678b771b81a704e
func main(g, e byte) []byte {
var data [129]byte
data[0] = 0x6d
data[1] = 0x74
data[2] = 0x72
return sha512.Sum512(data[:])
}