CodeSampleX

Sample

bun 1.3.14: CryptoHasher, CryptoHasher.update, CryptoHasher.digest

Verified sample for npm bun 1.3.14: CryptoHasher, CryptoHasher.update, CryptoHasher.digest. The contract ran on bun 1 · linux alpine/x64 · docker and passed…

sha256:884a8685fa8d90916655ba691e2b11e038ba3c1e7a7ddc56adcd551085c8a05a

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 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