--- title: "Hash" url: "https://help.maxon.net/c4d/en-us/Content/html/NET_MAXON_PATTERN_NODE_GENERATOR_HASH.html" section_path: "The Node Editor > The individual Assets > Material Generator > Hash" element_id: "NET_MAXON_PATTERN_NODE_GENERATOR_HASH" description: "This page documents the Hash node of the classic node materials in Cinema 4D. It maps arbitrary input data to reproducible pseudo-random values — …" --- # Hash > **Note:** **What is it about?** > > This page documents the **Hash node** of the classic node materials in **Cinema 4D**. It maps arbitrary input data to reproducible pseudo-random values — deterministic randomness for variation that stays stable per element. ![Image: 042223.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/042223.jpg)\ The Hash Node can be used to generate any number of random values and random colors. In this example, a new calculation of the color for each polygon of a subdivided cube was started. A Hash function is a function which maps data of arbitrary size to data of a fixed size. For example, the input might be any letter of the alphabet, and the hashed result would be a (seemingly random) whole number between 1 and 10. As there are more than 10 letters in the alphabet, obviously not each letter can be mapped to a unique number — this is then referred to as a "hash collision”. In the case of the Hash node, this function is used to generate pseudo-random colors, floats and vectors based on both the Seed and Salt values.