Skip to content

Latest commit

 

History

History
173 lines (126 loc) · 4.62 KB

File metadata and controls

173 lines (126 loc) · 4.62 KB

ChessCipher — Sample Test Data


Example 1: Plain Message → PGN (Public Mode)

Input Message:

The meeting is confirmed for Thursday at noon. Bring the documents we discussed. Use the side entrance and ask for Marcus.

Mode: Public (no key)

Expected Output PGN (example — your output will differ by move count but always be legal):

[Event "Casual Game"]
[Site "ChessCipher"]
[Date "2025-01-15"]
[White "Player1"]
[Black "Player2"]
[Result "*"]

1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. O-O Be7 6. Re1 b5 7. Bb3 d6
8. c3 O-O 9. h3 Na5 10. Bc2 c5 11. d4 Qc7 12. Nbd2 Nc6 13. dxc5 dxc5 14. Nf1 Be6
15. Ne3 Rad8 16. Nd5 Bxd5 17. exd5 Nb4 18. Bb1 c4 19. a3 Na6 20. Ne1 Nc5
21. Nd3 Nxd3 22. Qxd3 Bd6 23. Bg5 f6 24. Be3 Kh8 25. Bc2 Qd7 26. b4 cxb3
27. Bxb3 Nxb3 28. Qxb3 Qxa4 *

Decode Steps:

  1. Copy the PGN above
  2. Go to Decode tab
  3. Paste PGN → leave key blank → click Decode
  4. Watch cinematic board replay
  5. Message appears with typing animation

Example 2: FEN → Small Message

FEN String:

rnbqkbnr/pppppppp/8/8/4N3/8/PPPPPPPP/RNBQKB1R w KQkq - 0 1

Decoded content: Short key or pointer data (move index, reference)

How to test:

  1. Go to Decode tab
  2. Paste the FEN string
  3. App auto-detects FEN format (badge turns teal)
  4. Click Decode — FEN channel extracts the embedded data

Example 3: Key Mode

Input Message:

Asset transfer confirmed. Reference code: ALPHA-7-NOVEMBER. Proceed as planned.

Encryption Key: sphinx-of-black-quartz

Mode: Key Mode

To encode:

  1. Encode tab → enter message → set key → select "Key Mode" → Generate PGN

To decode (correct key):

  1. Decode tab → paste PGN → enter key sphinx-of-black-quartz → Decode
  2. Real message appears

To decode (wrong key):

  1. Decode tab → paste same PGN → enter key wrong-key → Decode
  2. Decoy appears, e.g.: "Interesting positional choice in the endgame."
  3. No error is shown — the decoy looks like legitimate chess commentary

Decoy determinism test:

  • Key wrong-key → always same decoy
  • Key another-wrong → different decoy
  • Both look like normal chess analysis

Example 4: Decoy Behavior Showcase

Setup: Encode any message with key secret123

Test the three decoy tiers:

Input Key Decoy Type Example Output
(blank) Normal (60%) "Good game. White handled the middlegame well."
wrongkey Suspicious (30%) "Something seems incomplete here."
almostright Troll (10%) "You really thought it would be that easy?"

Why this matters:

  • An interceptor cannot know if they have the wrong key
  • No error message reveals the existence of encryption
  • Same wrong key always produces the same output (consistent cover story)

Example 5: Hidden Key Mode

Concept: The key is never shared. It is derived from the FEN at a specific move in the game.

Workflow:

  1. Encoder chooses "Hidden Key" mode
  2. Pre-agreed: "use FEN at move 15"
  3. Key = hash(FEN_at_move_15)
  4. Both parties replay the game to move 15, extract FEN, derive key

To test manually:

  1. Encode with Hidden Key mode → generate PGN
  2. In Decode tab → select Hidden Key mode → decode
  3. System derives key from FEN hash internally

Cross-Platform Import Test

Take any PGN above and import it into:

  • Chess.com → Analysis → Paste PGN
  • Lichess.org → Tools → Board Editor → Import PGN
  • Chess24 → Analysis board
  • Fritz / Arena → any desktop chess GUI

The game should import cleanly as a legal, playable game. Then copy it back from the platform and decode with ChessCipher — the message survives.


Encoding Capacity Reference

Message Length Estimated Moves Required
10 characters ~15–20 moves
50 characters ~70–90 moves
100 characters ~140–170 moves
200 characters ~280–330 moves

Capacity depends on the number of legal moves available at each position. Early game (many options) encodes more efficiently than endgame (few pieces).


Dead Drop Reference Card Example

DEAD DROP REFERENCE CARD
========================
Ref ID   : A3F9C21B
Date     : 2025-01-15
Platform : Chess.com
Location : Profile — Latest Game
Handle   : GrandmasterX
Game     : latest
Key Hint : use the agreed phrase

INSTRUCTIONS
------------
1. Navigate to Chess.com
2. Find player: GrandmasterX
3. Go to game: most recent
4. Copy full PGN from game viewer
5. Paste into ChessCipher → Decode tab
6. Enter key when prompted

Encoded with ChessCipher Steganographic Engine

This card contains no message data — only the pointer. Share via any channel.