Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/todd-a-jacobs/cryptograms
Ruby gem for creating cryptogram puzzles.
https://github.com/todd-a-jacobs/cryptograms
Last synced: about 2 months ago
JSON representation
Ruby gem for creating cryptogram puzzles.
- Host: GitHub
- URL: https://github.com/todd-a-jacobs/cryptograms
- Owner: todd-a-jacobs
- Created: 2015-05-13T03:58:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-12T11:25:56.000Z (about 8 years ago)
- Last Synced: 2024-03-15T12:25:27.746Z (10 months ago)
- Language: Ruby
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cryptograms
[![Build Status](
https://travis-ci.org/CodeGnome/cryptograms.svg?branch=master
)](https://travis-ci.org/CodeGnome/cryptograms)## 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](http://www.gnu.org/graphics/gplv3-88x31.png)
The software is licensed under the
[GPLv3](http://www.gnu.org/copyleft/gpl.html). The LICENSE file is
included in the source tree.### README License
![Creative Commons BY-NC-SA
Logo](http://i.creativecommons.org/l/by-nc-sa/3.0/us/88x31.png)This README is licensed under the [Creative Commons
Attribution-NonCommercial-ShareAlike 3.0 United States
License](http://creativecommons.org/licenses/by-nc-sa/3.0/us/).## 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
cryptogram
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](https://github.com/CodeGnome/cryptograms)