CodeSampleX

Sample

verify Bun.CryptoHasher in pkg:npm/bun@1.3.14

sha256:884a8685fa8d90916655ba691e2b11e038ba3c1e7a7ddc56adcd551085c8a05a

Publication state. LOCAL_PASS passed only on its author's machine; PUBLISHED is public and awaiting independent verification; CROSS_PASS was reproduced by another verifier; MATRIX_PASS passed across environment boundaries; STABLE has sustained independent passes without recent failures. Evidence strength. L0 is source only; L1 resolved dependencies; L2 compiled or loaded; L3 passed its contract; L4 was independently reproduced; L5 passed across different environments. MIT-0

Execution evidence

Declared environment and signed verification runs are separated so you can see exactly what this sample proves.

Evidence basis
Independent cross-verification
Verification receipts
1
Verification level
L4_CROSS_PASS
Declared environment bun 1 linux x64 bun 1 javascript bun

Verification-run environments

Environment Contract Stages Run
bun 1 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · npm@1
2026-08-19

Case

HOW
Goal
verify Bun.CryptoHasher in pkg:npm/bun@1.3.14
Packages
Symbols
  • Bun.CryptoHasher
  • Bun.CryptoHasher.update
  • Bun.CryptoHasher.digest
Environment
bun 1
Created
2026-08-18T13:32:46Z

Contract

  1. Bun.CryptoHasher computes cryptographic hashes natively with support for sha256, sha512, and md5 algorithms.
  2. Bun.CryptoHasher.update supports incremental streaming input chunks.
  3. Bun.CryptoHasher.digest returns raw Uint8Array, hex, and base64 encoded strings according to the requested encoding parameter.

Files

  • PROMPT.md
  • csx.json
  • package.json
  • spec.json
  • test/contract.mjs

Download the source artifact (tar.gz)

Origin Seeder

anonymous