Skip to content
uencoder
PIPELINE Security & Privacy Beginner 2 steps

ChaCha20 Encrypt then Hex

ChaCha20 is a fast stream cipher used in TLS. Hex encoding makes ciphertext storable.

What it solves

ChaCha20 encrypt then hex-encode the ciphertext.

Input → Output

ChaCha20 Encryptor input → Hex Encoder output across 2 steps.

Runs in

2–3 minutes · fully local in your browser.

Before you start

  • Plaintext and ChaCha20 key

The pipeline

  1. 1 ChaCha20 Encryptor chacha20-encrypt

    Encrypt text with the ChaCha20 stream cipher (RFC 8439) — a real algorithm verified byte-for-byte against official RFC test vectors. 256-bit key (32 bytes), 96-bit nonce (12 bytes), 32-bit block counter. Free, private, and 100% client-side. Never reuse a nonce with the same key.

    Params: key=0123456789abcdef0123456789abcdef, nonce=0123456789ab

  2. 2 Hex Encoder hex-encode

    Encode text to hexadecimal online. Free, private, and 100% client-side.

Open in Toolchain

Runs locally in your browser. The recipe defines the pipeline only — your input never leaves this tab.

▶Run this workflow

Enter your input below and click Run. All processing happens locally in your browser — nothing is uploaded.

Pipeline progress

  1. ChaCha20 Encryptorchacha20-encrypt
  2. Hex Encoderhex-encode

Sample input

Secret data

Expected output

39343936393632333862343133643264656538333464

This pair is executed against the real tools at build time (tests/unit/recipes.test.ts) — the expected output is verified, not illustrative.

You might also need

Workflows sharing tools or topics with this recipe.

Learn more

Tools used