https://github.com/derekxkwan/polybius_sq-gem
ruby module to encode and decode messages with a polybius square
https://github.com/derekxkwan/polybius_sq-gem
polybius
Last synced: 3 months ago
JSON representation
ruby module to encode and decode messages with a polybius square
- Host: GitHub
- URL: https://github.com/derekxkwan/polybius_sq-gem
- Owner: derekxkwan
- Created: 2018-06-15T00:45:22.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-15T06:41:11.000Z (about 8 years ago)
- Last Synced: 2025-01-18T04:14:04.590Z (over 1 year ago)
- Topics: polybius
- Language: Ruby
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# polybius_sq-gem
ruby module to encode and decode messages with a polybius square
The class **PolybiusSQ** is defined in lib/polybius_sq.rb
Exposed methods are PolybiusSq::encode and PolybiusSq::decode
Both take two args (one opt): input and replace (defaults to ["j", "i"])
Replace should be an array with 2 one-character strings and both encode and decode replace the first element with the second