diff --git a/docs/nodes/nodes-library/core-nodes/Crypto/README.md b/docs/nodes/nodes-library/core-nodes/Crypto/README.md new file mode 100644 index 000000000..9ea7909ff --- /dev/null +++ b/docs/nodes/nodes-library/core-nodes/Crypto/README.md @@ -0,0 +1,45 @@ +--- +permalink: /nodes/n8n-nodes-base.crypto +--- + +# Crypto + +The Crypto node is used to encrypt data in workflows. + +## Node Reference + +- Action + - Hash a text in a specified format + - Hmac a text in a specified format + - Sign a string using a private key + +You can configure further options for each action by selecting the type of encryption and encoding to be used, in the _Type_ and _Encoding_ fields respectively. + +- Type + - MD5 + - SHA256 + - SHA512 + +- Encoding + - BASE64 + - HEX + +## Example Usage + +This workflow allows you to encrypt data using the Crypto node. You can also find the [workflow](https://n8n.io/workflows/574) on the website. This example usage workflow would use the following two nodes. +- [Start](../../core-nodes/Start/README.md) +- [Crypto]() + + +The final workflow should look like the following image. + +![A workflow with the Crypto node](./workflow.png) + +### 1. Start node + +The start node exists by default when you create a new workflow. + +### 2. Crypto node + +1. Enter the data that you want to encrypt in the *Value* field. +2. Click on *Execute Node* to run the workflow. diff --git a/docs/nodes/nodes-library/core-nodes/Crypto/workflow.png b/docs/nodes/nodes-library/core-nodes/Crypto/workflow.png new file mode 100644 index 000000000..b1b9dc34a Binary files /dev/null and b/docs/nodes/nodes-library/core-nodes/Crypto/workflow.png differ