zola 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.codeclimate.yml +5 -0
- data/.coveralls.yml +1 -0
- data/.gitignore +9 -0
- data/.rspec +2 -0
- data/.travis.yml +17 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +7 -0
- data/Guardfile +11 -0
- data/LICENSE.txt +21 -0
- data/README.md +81 -0
- data/Rakefile +8 -0
- data/bin/crack +15 -0
- data/bin/decrypt +15 -0
- data/bin/encrypt +14 -0
- data/lib/crack.rb +64 -0
- data/lib/decrypt.rb +23 -0
- data/lib/encrypt.rb +96 -0
- data/lib/zola.rb +5 -0
- data/lib/zola/version.rb +3 -0
- data/zola.gemspec +31 -0
- metadata +222 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6301afbe531bd706cf6a42159824cf231ffe67bb
|
4
|
+
data.tar.gz: 8f7fed6bdb7db61cf3ce6c330f28ae4911ce970d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b1c56d28741f17e1f865bc30ee534e459846d3b00309fb00642b7040dd20cfb67ac11dfd767c017b07061051b0ec16b8af6a13e47d41428c2f65287af7e43581
|
7
|
+
data.tar.gz: 277be9cb6fef00db99bbb3925157ada4ef79bb51dd4ba54a73a10df60f3a23893c4c9c51f04d5767ec9ced44e7e789673e398a6664f90431e24b88d545d7d363
|
data/.codeclimate.yml
ADDED
data/.coveralls.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
service_name: travis-ci
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
language: ruby
|
2
|
+
cache: bundler
|
3
|
+
|
4
|
+
rvm:
|
5
|
+
- 2.0.0
|
6
|
+
before_install: gem install bundler -v 1.10.6
|
7
|
+
script: bundle exec rspec spec
|
8
|
+
|
9
|
+
notifications:
|
10
|
+
email:
|
11
|
+
recipients:
|
12
|
+
- akeem.oduola@andela.com
|
13
|
+
on_failure: change
|
14
|
+
on_success: never
|
15
|
+
addons:
|
16
|
+
code_climate:
|
17
|
+
repo_token: 9aSeUbKK9ourgX8S8fRW
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
4
|
+
|
5
|
+
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
|
6
|
+
|
7
|
+
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
8
|
+
|
9
|
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
10
|
+
|
11
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
12
|
+
|
13
|
+
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
data/Gemfile
ADDED
data/Guardfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 oakeem
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,81 @@
|
|
1
|
+
# Zola
|
2
|
+
[](https://codeclimate.com/github/andela-aoduola/zola)
|
3
|
+
[](https://coveralls.io/github/andela-aoduola/zola?branch=master)<br />
|
4
|
+
Welcome to the Zola gem!
|
5
|
+
Zola is an encryption engine for encrypting, decrypting, and cracking messages.
|
6
|
+
The Zola gem can be used for encoding messages. It is built using the Ruby programming language and as a command line tool.
|
7
|
+
It contains an encrypt ruby file that when called with two file names as command line arguments, it encrypts the first file and saves it in the other.
|
8
|
+
It also contains a decrypt ruby file that when called with two file names as command line arguments, it decrypts the first file with a user supplied key and saves it in the other.
|
9
|
+
Lastly, zola includes a little twist where you can actually crack an encrypted file without a key.
|
10
|
+
|
11
|
+
## How the encryption works
|
12
|
+
|
13
|
+
The encryption is based on rotation of letters based on a key and the date that message was sent. The character map is made up of all the lowercase letters, then the numbers, then space, then period, then comma.
|
14
|
+
|
15
|
+
### The Key
|
16
|
+
|
17
|
+
* Each message uses a unique encryption key
|
18
|
+
* The key is five digits, like 41521
|
19
|
+
* The first two digits of the key are the "A" rotation (41)
|
20
|
+
* The second and third digits of the key are the "B" rotation (15)
|
21
|
+
* The third and fourth digits of the key are the "C" rotation (52)
|
22
|
+
* The fourth and fifth digits of the key are the "D" rotation (21)
|
23
|
+
|
24
|
+
### The Offset
|
25
|
+
|
26
|
+
* The date of message transmission is also factored into the encryption
|
27
|
+
* Consider the date in the format DDMMYY, like 020315
|
28
|
+
* Square the numeric form (412699225) and find the last four digits (9225)
|
29
|
+
* The first digit is the "A offset" (9)
|
30
|
+
* The second digit is the "B offset" (2)
|
31
|
+
* The third digit is the "C offset" (2)
|
32
|
+
* The fourth digit is the "D offset" (5)
|
33
|
+
|
34
|
+
## Installation
|
35
|
+
|
36
|
+
Add this line to your application's Gemfile:
|
37
|
+
|
38
|
+
```ruby
|
39
|
+
gem 'zola'
|
40
|
+
```
|
41
|
+
|
42
|
+
And then execute:
|
43
|
+
|
44
|
+
$ bundle
|
45
|
+
|
46
|
+
Or install it yourself as:
|
47
|
+
|
48
|
+
$ gem install zola
|
49
|
+
|
50
|
+
## Usage
|
51
|
+
|
52
|
+
To use add the directory of the bin folder of this gem to your Systems Path/Environment variables.
|
53
|
+
You can then call `encrypt`, `decrypt` or `crack`, on the file you want to work on, and also with a destination file name.
|
54
|
+
File to be encrypted, decrypted or cracked must be in your working directory.
|
55
|
+
|
56
|
+
Example: To call encrypt on a message.txt file in my desktop folder
|
57
|
+
|
58
|
+
$ cd desktop
|
59
|
+
|
60
|
+
$ encrypt message.txt encrypted.txt
|
61
|
+
|
62
|
+
=>#Created encrypted.txt with the key 12345 and date 300815
|
63
|
+
|
64
|
+
You can also write the absolute path of the file if you don't want to change working directory.
|
65
|
+
|
66
|
+
$ encrypt desktop/message.txt encrypted.txt
|
67
|
+
|
68
|
+
## Contributing
|
69
|
+
|
70
|
+
1. Fork it ( https://github.com/[andela-aoduola]/zola/fork )
|
71
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
72
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
73
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
74
|
+
5. Create a new Pull Request
|
75
|
+
|
76
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[andela-aoduola]/zola. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
|
77
|
+
|
78
|
+
|
79
|
+
## License
|
80
|
+
|
81
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
data/bin/crack
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "zola"
|
5
|
+
|
6
|
+
# quit unless our script gets two command line arguments
|
7
|
+
unless ARGV.length == 2
|
8
|
+
puts "Dude, not the right number of arguments."
|
9
|
+
puts "Usage: encrypt message.txt encrypted.txt"
|
10
|
+
exit
|
11
|
+
end
|
12
|
+
input = ARGV[0]
|
13
|
+
output = ARGV[1]
|
14
|
+
|
15
|
+
Zola::Crack.new(input, output).execute
|
data/bin/decrypt
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "zola"
|
5
|
+
|
6
|
+
# quit unless our script gets two command line arguments
|
7
|
+
unless ARGV.length == 2
|
8
|
+
puts "Dude, not the right number of arguments."
|
9
|
+
puts "Usage: encrypt message.txt encrypted.txt"
|
10
|
+
exit
|
11
|
+
end
|
12
|
+
input = ARGV[0]
|
13
|
+
output = ARGV[1]
|
14
|
+
|
15
|
+
Zola::Decryptor.new(input, output).execute
|
data/bin/encrypt
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require "bundler/setup"
|
3
|
+
require "zola"
|
4
|
+
|
5
|
+
# quit unless our script gets two command line arguments
|
6
|
+
unless ARGV.length == 2
|
7
|
+
puts "Dude, not the right number of arguments."
|
8
|
+
puts "Usage: encrypt message.txt encrypted.txt"
|
9
|
+
exit
|
10
|
+
end
|
11
|
+
input = ARGV[0]
|
12
|
+
output = ARGV[1]
|
13
|
+
|
14
|
+
Zola::Encryptor.new(input, output).execute
|
data/lib/crack.rb
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
module Zola
|
2
|
+
class Crack < Encryptor
|
3
|
+
attr_accessor :known, :char_hash
|
4
|
+
def initialize(input_file, output_file)
|
5
|
+
@known = "..end.."
|
6
|
+
@characters = [*'0'..'9', *'a'..'z',' ','.',","]
|
7
|
+
@date = 0
|
8
|
+
@number_of_ciphers = 4
|
9
|
+
@char_hash = Hash[@characters.map.with_index { |char, i| [char, i] }]
|
10
|
+
super(input_file, output_file)
|
11
|
+
end
|
12
|
+
def execute
|
13
|
+
read_in_message
|
14
|
+
get_cipher_rotations
|
15
|
+
process_message
|
16
|
+
output_message
|
17
|
+
end
|
18
|
+
def get_cipher_rotations
|
19
|
+
# get the index positions of the known keywords letters, and corresponding encrypted keywords letters
|
20
|
+
known_indexes = get_indexes(@known)
|
21
|
+
encrypted_part = @message[-@known.length, @known.length]
|
22
|
+
encrypted_indexes = get_indexes(encrypted_part)
|
23
|
+
# subtract the paired indexes to get the number of rotations between the encrypted and unencrypted letters
|
24
|
+
rotations = get_rotations(known_indexes, encrypted_indexes)
|
25
|
+
|
26
|
+
# reverse the rotations so that the encrypted letter points to its unencrypted letter
|
27
|
+
inverted_rotations = reverse_rotations(rotations)
|
28
|
+
|
29
|
+
# figure out what position each cipher is using
|
30
|
+
r = -@message.length % @number_of_ciphers
|
31
|
+
@keys = inverted_rotations.rotate(r)
|
32
|
+
end
|
33
|
+
|
34
|
+
def cipher(rotation)
|
35
|
+
rotated_characters = @characters.rotate(rotation)
|
36
|
+
Hash[rotated_characters.zip(@characters)]
|
37
|
+
end
|
38
|
+
|
39
|
+
def get_indexes(message)
|
40
|
+
message.each_char.map do |char|
|
41
|
+
@char_hash[char]
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
def get_rotations(known , encrypted)
|
46
|
+
rotations = known.zip(encrypted).map do |i|
|
47
|
+
difference = i[0] - i[1]
|
48
|
+
# if it takes negative rotations, get the positive counter rotations
|
49
|
+
difference = @characters.length + difference if difference < 0
|
50
|
+
difference
|
51
|
+
end
|
52
|
+
rotations.flatten.last(4)
|
53
|
+
end
|
54
|
+
|
55
|
+
def reverse_rotations(rotations)
|
56
|
+
len = @characters.length
|
57
|
+
rotations.map{ |number| len - number }
|
58
|
+
end
|
59
|
+
def output_message
|
60
|
+
File.open(@output_file, "w") { |f| f.write(@processed_message)}
|
61
|
+
puts "Created #{@output_file} with ciphers #{@keys}"
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
data/lib/decrypt.rb
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
module Zola
|
2
|
+
class Decryptor < Encryptor
|
3
|
+
def get_key
|
4
|
+
print "Enter encryption key: "
|
5
|
+
@key = $stdin.gets.chomp
|
6
|
+
end
|
7
|
+
def get_date
|
8
|
+
@date = File.ctime(input_file).strftime("%d%m%y").to_i
|
9
|
+
end
|
10
|
+
def cipher(rotation)
|
11
|
+
rotated_characters = @characters.rotate(rotation)
|
12
|
+
Hash[rotated_characters.zip(@characters)]
|
13
|
+
end
|
14
|
+
def execute
|
15
|
+
read_in_message
|
16
|
+
get_key
|
17
|
+
get_date
|
18
|
+
generate_keys
|
19
|
+
process_message
|
20
|
+
output_message
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
data/lib/encrypt.rb
ADDED
@@ -0,0 +1,96 @@
|
|
1
|
+
module Zola
|
2
|
+
class Encryptor
|
3
|
+
attr_accessor :input_file, :output_file, :message, :key, :date,:keys, :processed_message
|
4
|
+
|
5
|
+
def initialize(input_file, output_file)
|
6
|
+
@input_file = input_file
|
7
|
+
@output_file = output_file
|
8
|
+
@message = ""
|
9
|
+
@processed_message = ""
|
10
|
+
@key = ""
|
11
|
+
@date = 0
|
12
|
+
@keys = []
|
13
|
+
@characters = [*'0'..'9', *'a'..'z',' ','.',","]
|
14
|
+
end
|
15
|
+
|
16
|
+
def get_key
|
17
|
+
@key = 5.times.map { Random.rand(9) }.join
|
18
|
+
end
|
19
|
+
|
20
|
+
def get_date
|
21
|
+
@date = Time.now.strftime("%d%m%y").to_i
|
22
|
+
end
|
23
|
+
|
24
|
+
def generate_keys
|
25
|
+
key = generate_key
|
26
|
+
offset = generate_offset
|
27
|
+
@keys << key[0] + offset[0]
|
28
|
+
@keys << key[1] + offset[1]
|
29
|
+
@keys << key[2] + offset[2]
|
30
|
+
@keys << key[3] + offset[3]
|
31
|
+
@keys
|
32
|
+
end
|
33
|
+
def generate_key
|
34
|
+
key = []
|
35
|
+
key << @key[0..1].to_i
|
36
|
+
key << @key[1..2].to_i
|
37
|
+
key << @key[2..3].to_i
|
38
|
+
key << @key[3..4].to_i
|
39
|
+
key
|
40
|
+
end
|
41
|
+
def generate_offset
|
42
|
+
(@date ** 2).to_s.split(//).map(&:to_i).last(4)
|
43
|
+
end
|
44
|
+
def cipher(rotation)
|
45
|
+
rotated_characters = @characters.rotate(rotation)
|
46
|
+
Hash[@characters.zip(rotated_characters)]
|
47
|
+
end
|
48
|
+
|
49
|
+
def process_letter(letter,rotation)
|
50
|
+
cipher_for_rotation = cipher(rotation)
|
51
|
+
cipher_for_rotation[letter]
|
52
|
+
end
|
53
|
+
|
54
|
+
def read_in_message
|
55
|
+
if File.exist?(@input_file)
|
56
|
+
@message = File.open(@input_file, "r") { |f| f.read}
|
57
|
+
else
|
58
|
+
Kernel.abort("ABORTED! File: #{@input_file} Not Found in current directory")
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
def check_message
|
63
|
+
@message.downcase!
|
64
|
+
pattern = /[^a-z0-9 ,.]/
|
65
|
+
if !(@message =~ pattern).nil?
|
66
|
+
Kernel.abort("ABORTED! Invalid character(s) in message")
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
def process_message
|
71
|
+
count = 0
|
72
|
+
strlen = @message.length
|
73
|
+
for i in 0...strlen do
|
74
|
+
@processed_message += process_letter(@message[i], @keys[count])
|
75
|
+
count +=1
|
76
|
+
if count == 4
|
77
|
+
count = 0
|
78
|
+
end
|
79
|
+
end
|
80
|
+
@processed_message
|
81
|
+
end
|
82
|
+
def execute
|
83
|
+
read_in_message
|
84
|
+
check_message
|
85
|
+
get_date
|
86
|
+
get_key
|
87
|
+
generate_keys
|
88
|
+
process_message
|
89
|
+
output_message
|
90
|
+
end
|
91
|
+
def output_message
|
92
|
+
File.open(@output_file, "w") { |f| f.write(@processed_message)}
|
93
|
+
puts "Created #{@output_file} with the key #{@key} and date #{@date}"
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
data/lib/zola.rb
ADDED
data/lib/zola/version.rb
ADDED
data/zola.gemspec
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
lib = File.expand_path('../lib', __FILE__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require 'zola/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "zola"
|
7
|
+
spec.version = Zola::VERSION
|
8
|
+
spec.authors = ["Oduola Akeem"]
|
9
|
+
spec.email = ["akeem.oduola@andela.com"]
|
10
|
+
|
11
|
+
spec.summary = %q{ Zola is an encryption engine for encrypting, decrypting, and cracking messages.}
|
12
|
+
spec.homepage = "https://github.com/andela-aoduola/zola"
|
13
|
+
spec.license = "MIT"
|
14
|
+
|
15
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
16
|
+
spec.bindir = "bin"
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.require_paths = ["lib"]
|
19
|
+
|
20
|
+
spec.add_development_dependency "bundler", "~> 1.10"
|
21
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
22
|
+
spec.add_development_dependency "rspec"
|
23
|
+
spec.add_development_dependency "rspec-nc"
|
24
|
+
spec.add_development_dependency "guard"
|
25
|
+
spec.add_development_dependency "guard-rspec"
|
26
|
+
spec.add_development_dependency "pry"
|
27
|
+
spec.add_development_dependency "pry-remote"
|
28
|
+
spec.add_development_dependency "pry-nav"
|
29
|
+
spec.add_development_dependency "wdm", "~> 0.1.1"
|
30
|
+
spec.add_development_dependency "coveralls"
|
31
|
+
end
|
metadata
ADDED
@@ -0,0 +1,222 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: zola
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Oduola Akeem
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-11-10 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.10'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.10'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec-nc
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: guard
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: guard-rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: pry
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: pry-remote
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: pry-nav
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: wdm
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ~>
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 0.1.1
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ~>
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 0.1.1
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: coveralls
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - '>='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - '>='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
description:
|
168
|
+
email:
|
169
|
+
- akeem.oduola@andela.com
|
170
|
+
executables:
|
171
|
+
- crack
|
172
|
+
- decrypt
|
173
|
+
- encrypt
|
174
|
+
extensions: []
|
175
|
+
extra_rdoc_files: []
|
176
|
+
files:
|
177
|
+
- .codeclimate.yml
|
178
|
+
- .coveralls.yml
|
179
|
+
- .gitignore
|
180
|
+
- .rspec
|
181
|
+
- .travis.yml
|
182
|
+
- CODE_OF_CONDUCT.md
|
183
|
+
- Gemfile
|
184
|
+
- Guardfile
|
185
|
+
- LICENSE.txt
|
186
|
+
- README.md
|
187
|
+
- Rakefile
|
188
|
+
- bin/crack
|
189
|
+
- bin/decrypt
|
190
|
+
- bin/encrypt
|
191
|
+
- lib/crack.rb
|
192
|
+
- lib/decrypt.rb
|
193
|
+
- lib/encrypt.rb
|
194
|
+
- lib/zola.rb
|
195
|
+
- lib/zola/version.rb
|
196
|
+
- zola.gemspec
|
197
|
+
homepage: https://github.com/andela-aoduola/zola
|
198
|
+
licenses:
|
199
|
+
- MIT
|
200
|
+
metadata: {}
|
201
|
+
post_install_message:
|
202
|
+
rdoc_options: []
|
203
|
+
require_paths:
|
204
|
+
- lib
|
205
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
206
|
+
requirements:
|
207
|
+
- - '>='
|
208
|
+
- !ruby/object:Gem::Version
|
209
|
+
version: '0'
|
210
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
211
|
+
requirements:
|
212
|
+
- - '>='
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: '0'
|
215
|
+
requirements: []
|
216
|
+
rubyforge_project:
|
217
|
+
rubygems_version: 2.4.8
|
218
|
+
signing_key:
|
219
|
+
specification_version: 4
|
220
|
+
summary: Zola is an encryption engine for encrypting, decrypting, and cracking messages.
|
221
|
+
test_files: []
|
222
|
+
has_rdoc:
|