> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/build/crypto.md).

# Hash a value with Crypto in Duaer

In Duaer, Crypto defaults to Action Hash. Type defaults to SHA256. The result goes to Property Name (default data). Encoding defaults to HEX.
## Hash a string with SHA256

1. Search for Crypto and connect it after the previous node.
2. Leave Action on Hash.
3. Leave Type on SHA256.
4. Set Value to the string to hash, or use an expression that points at a field.
5. Property Name defaults to data. Encoding defaults to HEX.
6. Select Execute step. The hash appears on that property of the output item.

Other actions are Generate, Hmac, Sign, Encrypt, and Decrypt. Hmac, Sign, Encrypt, and Decrypt need a Crypto credential. Hash and Generate do not.

When Binary File is on, Hash reads from a binary field. Set Binary Property Name (default data).
## Questions

### Does Crypto Hash in Duaer store the plaintext in a credential?

No. Hash only digests the value for that run. Actions that need a key use the Crypto credential.

