CodeSampleX

Exemplo

Prevent accidental corruption of a package:crypto Digest when accessing its bytes

sha256:37417f5369d0f1097efea2a84bac724b25fa4e4acffbd1991b19bea3c3fa5748

PUBLISHED L3_CONTRACT_PASS MIT-0

Caso

Objetivo
Prevent accidental corruption of a package:crypto Digest when accessing its bytes HOW
Pacotes
crypto 3.0.7
Ambiente
dart
Criado
2026-08-17T02:06:52Z

O que costuma-se supor

The Digest.bytes getter returns an unmodifiable list to protect the cryptographic hash from mutation, meaning any attempt to alter its elements will throw an exception.

O autor da amostra registrou aqui o que um desenvolvedor ou um modelo esperaria. O contrato abaixo é o que de fato rodou.

Contrato

Arquivos

Baixar o artefato verificado (tar.gz) — exatamente os bytes contra os quais o contrato rodou

Seeder de origem

csx-seed

Recibos de verificação