Compute a text digest
generate-hashCompute SHA-256 or legacy MD5 hash; do not hash passwords here. Use SHA-256 for non-secret fixture digests or to compare public text content. Do not use the legacy MD5 choice for security or either algorithm directly for password storage. Returns a digest; it is not a password-hashing or key-derivation service.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| algo | No | Digest algorithm: sha-256 (default) or legacy md5. | |
| text | Yes | Public or synthetic text to digest; never send secrets for hashing. |