Checksum CRC-32
checksum-crc32Calcula el CRC-32 (IEEE, como en zip/PNG). Checksum no criptográfico. Cuándo: se necesita un checksum rápido no criptográfico para detectar errores, repartir datos o tablas hash. No para: calcular el resumen SHA-256 (hash-sha256). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.
EN: Computes the CRC-32 (IEEE 802.3, as in zip/gzip/PNG). Non-cryptographic error-detection checksum. When: a fast non-cryptographic checksum is needed for error detection, sharding or hash tables. Not for: computing the SHA-256 digest (hash-sha256). Side effects: none (read-only, no network access, no stored state). Deterministic: the same input gives the same output. Limits: JSON input up to 64 KB, 1 s per call, result up to 1 MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Input data (string; required). | |
| input_encoding | No | How `data` is encoded (optional; one of: utf8, hex, base64; default "utf8"). | utf8 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex | No | ||
| algorithm | No |