Skip to main content

Security key generator

Description

Security Key Generator creates random secret keys for use with symmetric encryption algorithms such as AES, DES, and TripleDES. Use this step at the start of an encryption workflow to produce keys of a specific bit-length, which downstream steps like Symmetric Cryptography can then use to encrypt or decrypt data. You can generate multiple keys in a single run and choose whether the output is in hexadecimal or native binary format. This step is useful in scenarios where keys need to be created dynamically at runtime rather than stored in advance.

Configurations

Field NameDescription
Step nameName of the step as it appears in the workflow workspace. This name has to be unique in a single workflow.
Output fields:
Secret key fieldSpecify the name of the field that contains the generated secret key.
Algorithm fieldSpecify the name of the field that contains the the algorithm the generated secret key is used with.
Secret key length fieldSpecify the name of the field that contains the bit-length of the generated secret key.
Output key as binaryEnable this checkbox if you want the secret key to be returned in the ative binary form. Otherwise, the secret key will be encoded in hexadecimal form.
Secret key:
AlgorithmSpecify the name of the Cipher algorithm that should be used to generate the secret key.
SchemeSpecify the name of the Cipher tranformation type that you would like to use. Leave empty for the default value used with the Algorithm. A default set of required Cipher Transformation types is available in Oracle Javadocs: https://docs.oracle.com/javase/7/docs/api/javax/crypto/Cipher.html
Key lengthThe bit-length of the secret key to be generated. For DES, the Key length can be 56. For DESede (Triple DES), the Key length can be 112 or 168. For AES, the Key length can be 128, 192, or 256.
How many?The number of rows that should be generated with these Secret Key settings.