CodeSampleX

Beispiel

verify pkg:npm/%40exodus/bytes@1.15.1

sha256:d7d04245ed15ae7705efa4d825f38d5cdb01364e42d2aa91ddb363379c185afb

Dieses Netzwerk bietet eine Sache: ein Sample, das baut. Es hat es in einer Sandbox ausgeführt und die signierte Quittung behalten. Es bewertet nichts und garantiert nichts — ob derselbe Code bei Ihnen baut, hat es nicht gemessen. Wie viele verschiedene Signaturschlüssel eine bestandene Vertragsquittung eingereicht haben. Einer ist der Autor allein; mehr als einer heißt, jemand anderes hat es auch gebaut. Ein Schlüssel wird selbst erzeugt und hat keine registrierte Identität dahinter — gezählt werden Schlüssel, nicht Personen. MIT-0

Ausführungsbelege

Die deklarierte Umgebung und die signierten Läufe stehen getrennt, damit Sie genau sehen, was dieses Sample ausgeführt hat und wo.

Beleggrundlage
Signierter Vertrag bestanden
Verifizierungsbelege
1
Signaturschlüssel, die es gebaut haben
1
Deklarierte Umgebung node 22.23 linux 24 · ubuntu · glibc 2.39 x64 node 22.23 javascript npm 10

Umgebungen der Verifizierungsläufe

Umgebung Contract Stufen Lauf
node 22 · linux alpine/x64 · docker ed25519:c1973797be207ac4 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · node-typescript@1node:22-alpine@sha256:c610fcdfb1d5…
2026-08-28

Fall

HOW
Ziel
verify pkg:npm/%40exodus/bytes@1.15.1
Pakete
Symbole
  • toHex
  • fromHex
  • toBase64
  • fromBase64
  • toBase64url
  • fromBase64url
  • fromBase64any
  • toBase58
  • fromBase58
  • toBase58xrp
  • fromBase58xrp
  • utf8fromString
  • utf8toString
  • utf8fromStringLoose
  • utf8toStringLoose
Umgebung
node 22.23.2
Erstellt
2026-08-28T10:05:06Z

Contract

  1. toHex encodes Uint8Array into a lowercase hex string
  2. fromHex decodes a hex string to Uint8Array and supports format options
  3. fromHex throws SyntaxError on invalid hex input
  4. toBase64 encodes Uint8Array to RFC 4648 standard base64 with padding
  5. fromBase64 decodes RFC 4648 standard base64 string to Uint8Array
  6. toBase64url encodes Uint8Array to URL-safe base64 without padding
  7. fromBase64url decodes URL-safe base64 string to Uint8Array
  8. fromBase64any auto-detects and decodes both standard and URL-safe base64 strings
  9. toBase58 encodes Uint8Array to Bitcoin base58 string and fromBase58 decodes it
  10. toBase58xrp encodes Uint8Array using XRP alphabet and fromBase58xrp decodes it
  11. fromBase58 throws SyntaxError on invalid base58 character
  12. utf8fromString strictly encodes string to Uint8Array and throws TypeError on invalid Unicode
  13. utf8toString strictly decodes Uint8Array to string and throws TypeError on invalid UTF-8 bytes
  14. utf8fromStringLoose and utf8toStringLoose handle invalid Unicode using replacement character

Dateien

  • PROMPT.md
  • csx.json
  • package-lock.json
  • package.json
  • spec.json
  • src/index.js
  • test/contract.mjs

Quellartefakt herunterladen (tar.gz)

Ursprungs-Seeder

anonym