Nodes/ComfyUI-Image-Cipher/🔒 Cipher Encode (Color Noise)
ComfyUI Node

🔒 Cipher Encode (Color Noise)

A ComfyUI node in CipherTools with 2 inputs and 1 output.

By engineer6980·Created 6 months ago·Updated 6 months ago· 1
🔒 Cipher Encode (Color Noise)
  • images
  • cipher_image
decryption_guide📌【前端解码指南 / Frontend Guide】 本节点专为API工作流设计,前端需按以下算法还原: ------------------------------------------------ 1. 固定密钥 (Key): 999 2. 算法原理: RGB通道独立行位移 (Row Rolling) 3. 核心公式 (y=行号, w=图像宽度): R_shift = (y * 999 * 1) % w G_shift = (y * 999 * 2) % w B_shift = (y * 999 * 3) % w 4. 操作: 将对应通道的每行像素向左(反向)回滚 shift 距离 ------------------------------------------------
CategoryCipherTools

Inputs (2)

NameTypeDefaultDescription
imagesIMAGE
decryption_guideoptSTRING📌【前端解码指南 / Frontend Guide】 本节点专为API工作流设计,前端需按以下算法还原: ------------------------------------------------ 1. 固定密钥 (Key): 999 2. 算法原理: RGB通道独立行位移 (Row Rolling) 3. 核心公式 (y=行号, w=图像宽度): R_shift = (y * 999 * 1) % w G_shift = (y * 999 * 2) % w B_shift = (y * 999 * 3) % w 4. 操作: 将对应通道的每行像素向左(反向)回滚 shift 距离 ------------------------------------------------

Outputs (1)

NameTypeDescription
cipher_imageIMAGE