THAMER
Sovereign Bitcoin Wallet

WALLET AI BITCOIN

Your Bitcoin Wallet. Your Keys. Your Engine.

Self-hosted Bitcoin software built for developers, applications, and AI agents.

CREATE WALLET

main_test.go

TEXT FILE

320 B · Public source code for developers, search crawlers and AI agents

Download / RawBack to folder
Go · 15 lines
1package main
2
3import (
4	"crypto/sha256"
5	"testing"
6)
7
8func TestTagged(t *testing.T) {
9	h := sha256.Sum256([]byte("tag"))
10	b := append(append(h[:0:0], h[:]...), h[:]...)
11	b = append(b, 1)
12	if tagged("tag", []byte{1}) != sha256.Sum256(b) || tagged("tag", nil) == tagged("other", nil) {
13		t.Fatal("domain separation")
14	}
15}
Read-only source · Select a line number to link directly · Raw download above

Latest from the Lab

THAMER illustrated developer portrait and signature

ABOUT THE DEVELOPER

Independent Software Developer specializing in Bitcoin Script, Golang, and AI Agents.

Software engineering · Independent research · Open-source projects