Zalo Decrypt icon

Zalo Decrypt

Giải mã chuỗi đã được mã hóa bằng AES

Zalo Decrypt → Tạo secretKey từ zcid + zcid_ext

AI-generated

Overview

This node operation generates a secret encryption key from two input values, zcid and zcid_ext, which are stored from a login session. It is useful in scenarios where you need to derive a secret key for decrypting data related to Zalo, a messaging app. For example, after a user logs in and you have their zcid and zcid_ext values, you can use this operation to create the secret key needed for further decryption tasks.

Use Case Examples

  1. Generating a secret key from stored session identifiers (zcid and zcid_ext) to decrypt user data in Zalo integrations.
  2. Creating the encryption key required for decrypting AES-encrypted strings or login information.

Properties

Name Meaning
ZCID The zcid value saved from the login session, used as part of the key generation.
ZCID EXT The zcid_ext value saved from the login session, used as part of the key generation.

Output

JSON

  • success - Indicates if the key generation was successful (true/false).
  • zcid - The input zcid value used for key generation.
  • zcid_ext - The input zcid_ext value used for key generation.
  • encryptKey - The generated secret encryption key derived from zcid and zcid_ext.

Troubleshooting

  • Ensure that both zcid and zcid_ext inputs are provided and correctly saved from the login session, as missing or incorrect values will cause key generation to fail.
  • If the node throws an error about failing to generate the key, verify the input strings and their format, and check for any typos or data corruption.

Discussion