CodeSampleX

Sample

Handle invalid byte input values and chunked conversion closed-state errors in package:crypto

sha256:0af50503366382d34692ce3bf046e81d221352626b0633d4c1c13db0df487bf5

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Handle invalid byte input values and chunked conversion closed-state errors in package:crypto HOW
Packages
crypto 3.0.6
Environment
dart
Created
2026-08-17T02:05:34Z

Commonly assumed

Passing integers outside 0..255 to Hash.convert raises an ArgumentError or RangeError on invalid byte values.

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts