feat: add tlog and signerverifier

This commit is contained in:
mrjoelkamp
2024-04-19 09:08:31 -05:00
parent cfce71f5ba
commit c81a228bf6
10 changed files with 1214 additions and 86 deletions

View File

@@ -11,3 +11,8 @@ func HexHashBytes(input []byte) string {
hashSum := s256.Sum(nil)
return hex.EncodeToString(hashSum)
}
func S256(data []byte) []byte {
h := sha256.Sum256(data)
return h[:]
}