Extensions/ComfyUI ARG Toolkit
ComfyUI Extension

ComfyUI ARG Toolkit

A collection of ComfyUI nodes for cryptography, steganography, encryption, decryption, and tools needed to both make and solve ARGs (Alternative Reality Games) and…

By AzelusLightvale·Created 11 months ago·Updated 23 days ago· 1
AzelusLightvale/ComfyUI-ARG-Toolkit
Nodes108
On cloudLocal install
CategoryARG Toolkit/Cryptography/Classical, ARG Toolkit/Cryptography/Modern/Authenticated
Stars1
Updated23 days ago

Nodes (108)

ADFGVX Cipher
ARG Toolkit/Cryptography/Classical
ADFGX Cipher
ARG Toolkit/Cryptography/Classical
AES-based Authenticated Encryption
ARG Toolkit/Cryptography/Modern/Authenticated
AES-based Authenticated Key Generator
ARG Toolkit/Cryptography/Modern/Authenticated
AES Key Wrap
ARG Toolkit/Cryptography/Modern/Key Wrap
AES Key Wrap With Padding
ARG Toolkit/Cryptography/Modern/Key Wrap
Affine Cipher
ARG Toolkit/Cryptography/Classical
Argon2id Key Derivation
ARG Toolkit/Cryptography/Modern/Key Derivation
Argon2id Key Verification
ARG Toolkit/Cryptography/Modern/Key Derivation
Atbash (Reverse Alphabet) Cipher
ARG Toolkit/Cryptography/Classical
Autokey Cipher
ARG Toolkit/Cryptography/Classical
Base64 to String Converter
ARG Toolkit/Utilities/Converter
Bazeries Cipher
ARG Toolkit/Cryptography/Classical
Beaufort Cipher
ARG Toolkit/Cryptography/Classical
Bifid Cipher
ARG Toolkit/Cryptography/Classical
Binary to String Converter
ARG Toolkit/Utilities/Converter
Bits Counter
ARG Toolkit/Utilities
Bitwise AND Operator
ARG Toolkit/Utilities/Bitwise
Bitwise Left Shift Operator
ARG Toolkit/Utilities/Bitwise
Bitwise NOT Operator
ARG Toolkit/Utilities/Bitwise
Bitwise OR Operator
ARG Toolkit/Utilities/Bitwise
Bitwise Right Shift Operator
ARG Toolkit/Utilities/Bitwise
Bitwise XOR Operator
ARG Toolkit/Utilities/Bitwise
BLAKE2 Hashing
ARG Toolkit/Cryptography/Modern/Hashing
Boolean Outputter
ARG Toolkit/Debugging
Bytes-like Object Decode
ARG Toolkit/Utilities/Converters
Bytes-like Object Encode
ARG Toolkit/Utilities/Converters
Caesar (ROT) Cipher
ARG Toolkit/Cryptography/Classical
Progressive Caesar Cipher
ARG Toolkit/Cryptography/Classical
ChaCha20Poly1305 Encryption
ARG Toolkit/Cryptography/Modern/Authenticated
ChaCha20Poly1305 Key Generator
ARG Toolkit/Cryptography/Modern/Authenticated
Chao Cipher
ARG Toolkit/Cryptography/Classical
Columnar Transposition Cipher
ARG Toolkit/Cryptography/Classical
ConcatKDF (Hash) Key Derivation
ARG Toolkit/Cryptography/Modern/Key Derivation
ConcatKDF (Hash) Key Verification
ARG Toolkit/Cryptography/Modern/Key Derivation
ConcatKDF (HMAC) Key Derivation
ARG Toolkit/Cryptography/Modern/Key Derivation
ConcatKDF (HMAC) Key Verification
ARG Toolkit/Cryptography/Modern/Key Derivation
Constant Time Compare
ARG Toolkit/Cryptography/Modern/Constant Time
DER Serialized Private Key Loader
ARG Toolkit/Cryptography/Modern/Asymmetric
DER Serialized Public Key Loader
ARG Toolkit/Cryptography/Modern/Asymmetric
Elliptic Curve Private Key Bytes
ARG Toolkit/Cryptography/Modern/Asymmetric
Elliptic Curve Public Key Bytes
ARG Toolkit/Cryptography/Modern/Asymmetric
Elliptic Curve Signature Sign
ARG Toolkit/Cryptography/Modern/Asymmetric
Elliptic Curve Signature Verify
ARG Toolkit/Cryptography/Modern/Asymmetric
EdDSA Private Key Bytes
ARG Toolkit/Cryptography/Modern/Asymmetric
EdDSA Public Key Bytes
ARG Toolkit/Cryptography/Modern/Asymmetric
EdDSA Signature Generator
ARG Toolkit/Cryptography/Modern/Asymmetric
EDDSA Message Verification
ARG Toolkit/Cryptography/Modern/Asymmetric
Fernet Key Generator
ARG Toolkit/Cryptography/Modern
Fernet Symmetric Key Encryption
ARG Toolkit/Cryptography/Modern
Foursquare Cipher
ARG Toolkit/Cryptography/Classical
Gronsfeld Cipher
ARG Toolkit/Cryptography/Classical
Hexadecimal to String Converter
ARG Toolkit/Utilities/Converter
HKDF Key Derivation
ARG Toolkit/Cryptography/Modern/Key Derivation
HKDF (Expand Only) Key Derivation
ARG Toolkit/Cryptography/Modern/Key Derivation
HKDF (Expand Only) Key Verification
ARG Toolkit/Cryptography/Modern/Key Derivation
HKDF Key Verification
ARG Toolkit/Cryptography/Modern/Key Derivation
Invisible Watermark Decode
ARG Toolkit/Steganography
Invisible Watermark Encode
ARG Toolkit/Steganography
KBKDF Key Derivation
ARG Toolkit/Cryptography/Modern/Key Derivation
KBKDF Key Verification
ARG Toolkit/Cryptography/Modern/Key Derivation
Keyword Cipher
ARG Toolkit/Cryptography/Classical
MD5 Hashing
ARG Toolkit/Cryptography/Modern/Hashing
Morse Code
ARG Toolkit/Utilities/Converter
Myszkowski Transposition Cipher
ARG Toolkit/Cryptography/Classical
Nihilist Cipher
ARG Toolkit/Cryptography/Classical
Symmetrical Padding
ARG Toolkit/Cryptography/Modern/Padding
PBKDF2HMAC Key Derivation
ARG Toolkit/Cryptography/Modern/Key Derivation
PBKDF2HMAC Key Verification
ARG Toolkit/Cryptography/Modern/Key Derivation
PEM Serialized Private Key Loader
ARG Toolkit/Cryptography/Modern/Asymmetric
PEM Serialized Public Key Loader
ARG Toolkit/Cryptography/Modern/Asymmetric
Playfair Cipher
ARG Toolkit/Cryptography/Classical
Polybius Square Cipher
ARG Toolkit/Cryptography/Classical
Porta Cipher
ARG Toolkit/Cryptography/Classical
Reed-Solomon Decode
ARG Toolkit/Utilities/Error Correction
Reed-Solomon Encode
ARG Toolkit/Utilities/Error Correction
Rotate-13 Cipher
ARG Toolkit/Cryptography/Classical
Rotate-18 Cipher
ARG Toolkit/Cryptography/Classical
Rotate-47 Cipher
ARG Toolkit/Cryptography/Classical
Rotate-5 Cipher
ARG Toolkit/Cryptography/Classical
Scrypt Key Derivation
ARG Toolkit/Cryptography/Modern/Key Derivation
Scrypt Key Verification
ARG Toolkit/Cryptography/Modern/Key Derivation
Scytale Cipher
ARG Toolkit/Cryptography/Classical
SHA-1 Hashing
ARG Toolkit/Cryptography/Modern/Hashing
SHA-2 Hashing
ARG Toolkit/Cryptography/Modern/Hashing
SHA-3 Hashing
ARG Toolkit/Cryptography/Modern/Hashing
SHAKE Hashing
ARG Toolkit/Cryptography/Modern/Hashing
Simple Substitution Cipher
ARG Toolkit/Cryptography/Classical
SM3 Hashing
ARG Toolkit/Cryptography/Modern/Hashing
Stegano LSB Decode
ARG Toolkit/Steganography
Stegano LSB Encode
ARG Toolkit/Steganography
String to Base64 Converter
ARG Toolkit/Utilities/Converter
String to Binary Converter
ARG Toolkit/Utilities/Converter
String to Hexadecimal Converter
ARG Toolkit/Utilities/Converter
String Append Looper
ARG Toolkit/Utilities/Padding
Symmetric Encrypt/Decrypt
ARG Toolkit/Cryptography/Modern/Cipher
Random Nonce Generator
ARG Toolkit/Utilities/Random
Three Square Cipher
ARG Toolkit/Cryptography/Classical
Trifid (Cylinder) Cipher
ARG Toolkit/Cryptography/Classical
Two Square (Double Playfair) Cipher
ARG Toolkit/Cryptography/Classical
Vic Cipher
ARG Toolkit/Cryptography/Classical
Vigenere Cipher
ARG Toolkit/Cryptography/Classical
X963KDF Key Derivation
ARG Toolkit/Cryptography/Modern/Key Derivation
X963KDF Key Verification
ARG Toolkit/Cryptography/Modern/Key Derivation
ECDH Shared Key Exchange
ARG Toolkit/Cryptography/Modern/Asymmetric
ECDH Private Key Bytes
ARG Toolkit/Cryptography/Modern/Asymmetric
ECDH Public Key Bytes
ARG Toolkit/Cryptography/Modern/Asymmetric
Zigzag (Rail-fence) Cipher
ARG Toolkit/Cryptography/Classical
Readme

ComfyUI ARG Toolkit

A collection of ComfyUI nodes meant mostly for doing cryptography, steganography, encryption, decryption, and everything needed to both make and solve ARGs (Alternative Reality Games) and secret messages hidden within text or images (and hopefully audio) without ever leaving ComfyUI.

Might also double as a poor-man's cryptanalysis and steganography lab

Quickstart

  1. Install ComfyUI.
  2. Install ComfyUI-Manager.
  3. Look up this extension in ComfyUI-Manager. If you are installing manually, clone this repository under ComfyUI/custom_nodes.
  4. Restart ComfyUI.

Features

  • Classic ciphers and cryptography techniques (Caesar, Playfair, Vigénere, Foursquare,...) - currently powered by secretpy.
  • Image steganography and invisible watermarking tools - currently powered by stegano and invisible-watermark.
  • Bitwise operators and string converters for use with other ciphers.
  • Bytes-like datatype and encoders/decoders for many nodes in the node pack.
  • Error correction codes for more robust operations - currently powered by reedsolo
  • Multi-language Morse code encoder and decoder.
  • (WIP) Modern cryptographic encryption tools and functions - currently powered by cryptography.
  • (Planned) Historical encoding and encrypting formats (Kansas City System, SNOW, SSTV,...) made user-friendly and available through a node interface.
  • (Planned) Recreations of historical cipher machines (Enigma, Lorenz, M-209,...) within ComfyUI.
  • (Planned) Audio spectrogram analysis tools.
  • (Planned) Generative steganography models
  • (Far Future plans) Post-quantum cryptography tools.

Testing methodology

Since this project started as an amateur project, the test files only cover the functions and most common use cases, not the edge cases or any automated testing yet.

Others

Related projects

If you like the idea behind this node pack, want to explore cryptography, steganography, ARGs, and more, please visit these projects and sites:

  • Ciphereditor - Basically what this is doing, but more formalized and not a custom node pack sitting on top of an AI image generation platform.
  • CyberChef - The Cyber Swiss Army Knife, and for a good reason.
  • cryptii (Official link) - One of the more modern cryptography encrypt/decrypt sites out there.
  • CrypTool - A good place to learn more about everything cryptography. CrypTool2 is probably one of the accidental inspiration for this project as well.
  • dCode.fr - The original and most well known site for all things related to solving math, cryptography, and ARGs as they basically contain the most amount of tools out there.
  • Game Detectives - A quite useful site to learn about how ARGs work and get standalone tools for learning and solving ARGs. Unfortunately, many of the tools listed on the ARG Toolbox are dead and either requires the Wayback Machine or finding a sketchy alternative.

Companion node packs

  • ComfyUI-Custom-Scripts - Provides a lot of useful features and nodes in general for ComfyUI.
  • ComfyUI-Crystools - System monitor extension for ComfyUI.
  • ComfyUI_Invisible_Watermark - The main reason I even started this project in the first place, for making an "invisible watermark" node that left such an impression on me I decided to make my own.
  • ComfyLiterals - Optional custom nodes for use with these nodes to provide or bypass certain limitations of ComfyUI.

License

This project is licensed under the GNU General Public License 3.0 (GPLv3) See the LICENSE file for full license details.