Skip to content

Text mode newspaper "Cryptoquip" monoalphabetic substitution cipher solving tool.

Notifications You must be signed in to change notification settings

bennetyee/cryptoquip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cryptoquip

This repository contains a simple Rust program to help solve the "Cryptoquip" newspaper puzzle. This is syndicated by King Features as Sheffer Crossword with Cryptoquip (a few days worth is available at cecildaily). This is not an automated solver, since that completely eliminates any fun to be had.

The program is non-graphical. The console mode commands are terse -- single letters -- but I found the user-interface to be quite effective. Type in ? to get a list of commands. The only painful part of using it is that one has to actually type in the cryptogram -- using a camera to take an image and then performing optical character recognition might be reasonable, but probably not worth the effort.

How To Build

$ git clone [email protected]:bennetyee/cryptoquip.git
$ cd cryptquip
$ cargo build

How To Run

The interface is very primitive:

$ target/debug/cryptoquip
jwblqr bx snbswn utb otgrh aynqhxqjo inynqw aygrlj tqssgrnjj: "wgxn gj q abuw bx itnnygbj."
cq: r ba
..a... a. ..a... ..a ..... ......... ...... ...... .........: ".... .. . .a.. a. ......a.."
cq: r xt   
..a... at ..a... ..a ..... .....t... ...... ...... .........: "..t. .. . .a.. at ......a.."
cq: p
jwblqr bx snbswn utb otgrh aynqhxqjo inynqw aygrlj tqssgrnjj: "wgxn gj q abuw bx itnnygbj."
..a... at ..a... ..a ..... .....t... ...... ...... .........: "..t. .. . .a.. at ......a.."
cq: ?
?            - this help
p            - print ciphertext / decoded text
N ciphertext - new cryptoquip with ciphertext
c            - clear mappings
r abcd...    - replace a with b, c with d, etc
               post-image can be "." to remove
               the current guess for the pre-image
s            - show current mapping
q            - quit
cq:

About

Text mode newspaper "Cryptoquip" monoalphabetic substitution cipher solving tool.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages