PathrockNetwork Gno Explorer
HomeBlocksTransactionsTokensRealmsPackagesValidatorsAnalytics

PathrockNetwork Gno Explorer — an independent explorer for Gno.land Mainnet (gnoland-1), operated by PathrockNetwork. Not an official Gno.land service.

gnowebarchive RPC

gno.land/r/moul/x/daily/crc32demo/v0

Realm
Open in gnoweb ↗

Overview

Kind
Realm (renderable)
Name
v0
Namespace
moul / x / daily / crc32demo
Files
3 (README)(gnomod.toml)
Exported functions
1
Module
gno.land/r/moul/x/daily/crc32demo/v0
gno
0.9

Files (3)

  • README.mdmarkdown
  • gnomod.tomltoml
  • crc32demo.gnogno

Select a file to view its exact on-chain source. Sorted README → gnomod → sources → tests.

Functions

  • Render(path string) string

Signatures reconstructed verbatim from vm/qfuncs — interface params keep their inline definitions.

Rendered
RenderedRawgnoweb ↗
# CRC-32

The IEEE checksum behind zip, gzip and PNG, demoing the [`p/moul/x/daily/crc32`](/p/moul/x/daily/crc32/v0) library.

| input | crc32 |
|---|---|
| _(empty)_ | `00000000` |
| `a` | `e8b7be43` |
| `abc` | `352441c2` |
| `123456789` | `cbf43926` |
| `hello world` | `0d4a1185` |
| `hello worle` | `7a4d2113` |

`123456789` → `cbf43926` is the standard CRC-32 check value, so this table doubles as a conformance test.

> The last two rows differ by one letter and share no digits: that avalanche is the point.

> A CRC detects **accidents**, not tampering — it is linear, so a matching message is easy to craft. Never authenticate with it.

vm/qrender output, sanitized (docs/render-security.md) and displayed in an empty-sandbox iframe — scripts, forms and popups cannot run. Links stay inert in-preview; right-click to open.