Skip to main content
info
This documentation is for version v2.4 of the product.
For the latest version(v2.7) documentation click here
Version: v2.4 print this page

Hash

This node adds a new Columns which contains the Hash of the specified columns

Input

It accepts a DataFrame as input from the previous Node

Output

A new column is added to the incoming DataFrame by creating a Hash of the specified input columns.

Type

transform

Fields

NameTitleDescription
inputColsColumnsColumns to be concatenated
hashingAlgorithmHashing AlgorithmHashing Algorithm SHA2 & MD5, by default MD5)
outputColOutput Column NameColumn name for Hash
bitLengthBit LengthBit Length(used in SHA2) and Hashing node bitLength-(0, 224, 256, 384, 512)
sepSeparatorSeparator to be used when concatenating the columns

Examples

Input

idlabelf1f2
61.02.12.0
40.04.15.0
50.03.16.0
661.02.12.0

Parameters1

NameValue
Columnsf1 f2
Hashing AlgorithmSH2
Output Column Namesh2_hash
Bit Length0
separator

Output1

idlabelf1f2sh2_hash
61.02.12.01476beec9dd8dc61bb617ba15e068e43ad918c83cc543d290f45a219d603e75c
40.04.15.0fcfeacf3a36da93855bf43bca5b6942e09f76330692d8a666a0215d3ce05889f
50.03.16.0a7c8371a5a7b55d0f4e5dff4e083b5d3c82f83b025ff26f4123bd4c348a8bbb2
661.02.12.01476beec9dd8dc61bb617ba15e068e43ad918c83cc543d290f45a219d603e75c

Parameters2

NameValue
Columnsf1 f2
Hashing AlgorithmMD5
Output Column Namemd5_hash
Bit Length
separator

Output2

idlabelf1f2md5_hash
61.02.12.032d7edaf74fd94509361bcd1f0c56763
40.04.15.0f2880da79c8d1c255c1afdba28a9001e
50.03.16.0c5c2c80d0b26cecafe376dc4cdc91e6f
661.02.12.032d7edaf74fd94509361bcd1f0c56763