CodeSampleX

Sample

golang.org/x/crypto v0.55.0: sha3.New256, sha3.NewShake256, sha3.Sum256

Verified sample for golang golang.org/x/crypto v0.55.0: sha3.New256, sha3.NewShake256, sha3.Sum256. The contract ran on go 1.26 · linux alpine/x64 · docker…

sha256:e210a4f523ddae8c6ac0bee9f9f8ba5fa1341681030247e390f501326d1e49a0

This network offers one thing: a sample that builds. It ran the sample in a sandbox and kept the signed receipt. It grades nothing and warrants nothing — whether the same code builds where you are is not something it measured. How many distinct signing keys filed a passing contract receipt. One is the author alone; more than one means somebody else built it too. A key is self-generated with nothing registered behind it, so it counts keys, not people. MIT-0

Execution evidence

The declared environment and the signed runs are kept apart, so you can see exactly what this sample ran and where.

Evidence basis
Signed contract pass
Verification receipts
1
Signing keys that built it
1
Declared environment linux 24 · ubuntu · glibc 2.39 x64 go

Verification-run environments

Environment Contract Stages Run
go 1.26 · linux alpine/x64 · docker ed25519:c1973797be207ac4 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · golang@1golang:1.26-alpine@sha256:28d89ee9cc0f…
2026-08-30

Case

HOW
Goal
verify sha3 hash functions and SHAKE extendable-output in pkg:golang/golang.org/x/crypto@v0.55.0
Packages
Symbols
  • sha3.New256
  • sha3.NewShake256
  • sha3.Sum256
  • sha3.Sum512
Created
2026-08-30T14:13:45Z

Contract

  1. sha3.Sum256 computes 32-byte SHA3-256 hash matching NIST FIPS 202 test vectors
  2. sha3.Sum512 computes 64-byte SHA3-512 hash matching NIST FIPS 202 test vectors
  3. sha3.New256 streaming hash produces identical digest to sha3.Sum256
  4. sha3.NewShake256 derives variable-length output matching SHAKE256 test vector
  5. sha3.NewShake256 produces deterministic output for identical input and distinct output for different input
  6. sha3.NewShake256 Clone produces identical output stream from cloned state
  7. sha3.NewShake256 Reset restarts stream from initial state

Files

  • PROMPT.md
  • csx.json
  • go.mod
  • go.sum
  • main.go
  • spec.json
  • test/contract.go

Download the source artifact (tar.gz)

Origin Seeder

anonymous