/hash
Generate a cryptographic hash.
| Attribute | Details |
|---|---|
| Access Tier | All Users |
| Provider | Local Node.js crypto module |
| Data Stored | Ephemeral |
Options
| Option | Description | Type | Required |
|---|---|---|---|
text | Text to hash. | String | Yes |
algorithm | Hash algorithm. Defaults to SHA-256. Allowed values: md5, sha1, sha256, sha384, sha512 | String | No |
ephemeral | Hide this response. | Boolean | No |
Examples
text
/hash algorithm:"sha256" text:"secure string"