Skip to main content

Crypto Tasks

Encode, decode, hash, encrypt, and decrypt data.

crypto.encode​

Display Name: Encode

Encode data to Base64 or Hex format.

Parameters​

NameTypeRequiredDescription
datastringYesData to encode.
algorithmstringYesEncoding algorithm. Options: base64, hex.

Output​

NameTypeDescription
datastringEncoded data.

crypto.decode​

Display Name: Decode

Decode data from Base64 or Hex format.

Parameters​

NameTypeRequiredDescription
datastringYesData to decode.
algorithmstringYesDecoding algorithm. Options: base64, hex.

Output​

NameTypeDescription
datastringDecoded data.

crypto.hash​

Display Name: Hash

Generate a hash digest of data.

Parameters​

NameTypeRequiredDescription
datastringYesData to hash.
algorithmstringYesHash algorithm. Options: md5, sha1, sha256, sha512.

Output​

NameTypeDescription
datastringHash digest (hex encoded).

crypto.encrypt​

Display Name: Encrypt

Encrypt data using AES-256-GCM symmetric encryption.

Parameters​

NameTypeRequiredDescription
datastringYesData to encrypt.
keystringYesEncryption key (stored encrypted).
algorithmstringNoEncryption algorithm. Options: aes-256-gcm. Default: aes-256-gcm.
key_encodingstringNoKey encoding format. Options: text, base64, hex. Default: text.

Output​

NameTypeDescription
datastringEncrypted data (base64 encoded).

crypto.decrypt​

Display Name: Decrypt

Decrypt AES-256-GCM encrypted data.

Parameters​

NameTypeRequiredDescription
datastringYesData to decrypt (base64 encoded).
keystringYesDecryption key (stored encrypted).
algorithmstringNoEncryption algorithm. Options: aes-256-gcm. Default: aes-256-gcm.
key_encodingstringNoKey encoding format. Options: text, base64, hex. Default: text.

Output​

NameTypeDescription
datastringDecrypted data.