Hash RIPEMD-160
hash-ripemd160Calcula el resumen RIPEMD-160, usado en HASH160 de Bitcoin. Cuándo: se necesita el resumen exacto de un texto o de unos bytes dados, p. ej. para comparar contenido o cotejar un checksum publicado. 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 RIPEMD-160 digest (160-bit), used inside Bitcoin HASH160. When: an exact digest of given text or bytes is needed, e.g. to compare content or match a published checksum. 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_encoding | No | Output encoding of the digest (optional; one of: hex, base64, base64url; default "hex"). | hex |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| digest | No | ||
| encoding | No | ||
| algorithm | No |