ceremonyclient/bedlam/testsuite/crypto/sha256_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
278 B
Go

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