Skip to content

todd-a-jacobs/cryptograms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cryptograms

Build Status

Copyright and Licensing

Copyright Notice

The copyright for the software, documentation, and associated files are held by the author.

Copyright © 2015, 2016 Todd A. Jacobs
All rights reserved.

The AUTHORS file is also included in the source tree.

Software License

GPLv3 Logo

The software is licensed under the GPLv3. The LICENSE file is included in the source tree.

README License

Creative Commons BY-NC-SA Logo

This README is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License.

Purpose

Geneate cryptogram puzzles that:

  • Use a pseudo-random letter substitution pattern.
  • Ensures that chosen cypher key never allows a letter to substitute for itself.

Installation and Setup

gem install cryptograms

Command-Line Usage

cryptogram -h
cryptogram <file>
cryptogram <string ...>
echo foo | cryptogram

Examples

No screenshots here, just samples of what you can expect to see on your terminal when you run the program.

Command Line

Reading from Standard Input

$ echo 'Foo bar baz. Quux?' | cryptogram
Cryptograms v0.3.0
Copyright © 2015, 2016 Todd A. Jacobs
This program is licensed under GPLv3 or later.

Foo bar baz. Quux?

RXX FDI FDG. YQQW?

Reading from Source File

$ cryptogram /tmp/plaintext
Cryptograms v0.3.0
Copyright © 2015, 2016 Todd A. Jacobs
This program is licensed under GPLv3 or later.

Foo bar baz.

ZYY HVE HVR.

REPL

require 'cryptograms'
c = Cryptogram.new "Foo bar baz. Quux?"
c.cyphertext
#=> "BCC SJE SJR. HXXD?"

Project Home Page

About

Ruby gem for creating cryptogram puzzles.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages