encrubto 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: cf4b60473f23e62c2da8f4c756c60c033ab0ff71c2a2f1230bd70d2b12ede74c
4
+ data.tar.gz: aebe3e9021969fe88fbb077181a9bbef51519d8ad4160c17fab7f52a1eec8aeb
5
+ SHA512:
6
+ metadata.gz: f6f5f55f4828428b5ff2865a5b4aaef421b6ac5cce258fe6325fab93ba3a1da1e436b79789f2fc68f2fc4a317adfc8a228914f60c4e50afcc6d9045a3242529e
7
+ data.tar.gz: 441ab4c147ad377fd0b513cf292426b0efd3c1156a62b4e65d6d93f69ef11c1e8800f453db5203fff188d2e9092aca82c155b01e3818dd088d7278027ddb8b61
data/.gitignore ADDED
@@ -0,0 +1,51 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+ .rspec_status
13
+
14
+ # Used by dotenv library to load environment variables.
15
+ # .env
16
+
17
+ ## Specific to RubyMotion:
18
+ .dat*
19
+ .repl_history
20
+ build/
21
+ *.bridgesupport
22
+ build-iPhoneOS/
23
+ build-iPhoneSimulator/
24
+
25
+ ## Specific to RubyMotion (use of CocoaPods):
26
+ #
27
+ # We recommend against adding the Pods directory to your .gitignore. However
28
+ # you should judge for yourself, the pros and cons are mentioned at:
29
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
30
+ #
31
+ # vendor/Pods/
32
+
33
+ ## Documentation cache and generated files:
34
+ /.yardoc/
35
+ /_yardoc/
36
+ /doc/
37
+ /rdoc/
38
+
39
+ ## Environment normalization:
40
+ /.bundle/
41
+ /vendor/bundle
42
+ /lib/bundler/man/
43
+
44
+ # for a library or gem, you might want to ignore these files since the code is
45
+ # intended to run in multiple environments; otherwise, check them in:
46
+ Gemfile.lock
47
+ .ruby-version
48
+ .ruby-gemset
49
+
50
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
51
+ .rvmrc
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.5.0
7
+ before_install: gem install bundler -v 1.16.3
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at TODO: Write your email address. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in encrubto.gemspec
6
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2018 Márk Török
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 all
13
+ 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 THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,51 @@
1
+ # Encrubto
2
+
3
+ [![Build Status](https://travis-ci.org/torokmark/encrubto.svg?branch=master)](https://travis-ci.org/torokmark/encrubto)
4
+ [![Coverage Status](https://coveralls.io/repos/github/torokmark/encrubto/badge.svg?branch=master)](https://coveralls.io/github/torokmark/encrubto?branch=master)
5
+
6
+ Encrubto is intended to provide encryption and decryption algorithms.
7
+
8
+ ## Installation
9
+
10
+ Add this line to your application's Gemfile:
11
+
12
+ ```ruby
13
+ gem 'encrubto'
14
+ ```
15
+
16
+ And then execute:
17
+
18
+ $ bundle
19
+
20
+ Or install it yourself as:
21
+
22
+ $ gem install encrubto
23
+
24
+ ## Usage
25
+
26
+ ```ruby
27
+ require 'encrubto'
28
+
29
+ encrypted_str = Encrubto::Rot13.encrypt('apple')
30
+ decrypted_str = Encrubto::Rot13.decrypt(encrypted_str)
31
+
32
+ puts "#{ encrypted_str } == #{ decrypted_str }"
33
+ ```
34
+
35
+ ## Development
36
+
37
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
38
+
39
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
40
+
41
+ ## Contributing
42
+
43
+ Bug reports and pull requests are welcome on GitHub at https://github.com/torokmark/encrubto. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
44
+
45
+ ## License
46
+
47
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
48
+
49
+ ## Code of Conduct
50
+
51
+ Everyone interacting in the Encrubto project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/torokmark/encrubto/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,27 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
5
+ require "encrubto/version"
6
+
7
+ RSpec::Core::RakeTask.new(:spec)
8
+
9
+ task :default => :spec
10
+
11
+ task :build do
12
+ system "gem build encrubto.gemspec"
13
+ end
14
+
15
+ task :install do
16
+ system "gem install encrubto-#{ Encrubto::VERSION }.gem"
17
+ end
18
+
19
+ task :push do
20
+ system "gem push encrubto-#{ Encrubto::VERSION }.gem"
21
+ end
22
+
23
+ task :exec do
24
+ system './bin/encrubto'
25
+ end
26
+
27
+ # task :full => [:build, :spec, :install, :exec]
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "encrubto"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "pry"
14
+ pry
data/bin/encrubto ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'encrubto'
4
+
5
+ encrypted = Encrubto::Rot13.encrypt("apple")
6
+ decrypted = Encrubto::Rot13.decrypt(encrypted)
7
+
8
+ puts "Encrypted string 'apple' in Rot13: #{ encrypted }"
9
+ puts "Encrypted string 'apple' in Rot13: #{ decrypted }"
10
+
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/encrubto.gemspec ADDED
@@ -0,0 +1,45 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "encrubto/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "encrubto"
8
+ spec.version = Encrubto::VERSION
9
+ spec.authors = ["Mark Torok"]
10
+ spec.email = ["torok.marko@gmail.com"]
11
+
12
+ spec.summary = %q{Encryption library}
13
+ spec.description = %q{Ruby library intended to provide encryption algorithms.}
14
+ spec.homepage = "https://github.com/torokmark/encrubto"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against " \
23
+ "public gem pushes."
24
+ end
25
+
26
+ # Specify which files should be added to the gem when it is released.
27
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
28
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
29
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
30
+ end
31
+ spec.bindir = "exe"
32
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
33
+ spec.require_paths = ["lib"]
34
+
35
+ spec.required_ruby_version = ">= 2.4"
36
+
37
+ spec.add_development_dependency "bundler"
38
+ spec.add_development_dependency "rake", "~> 12.3"
39
+
40
+ spec.add_development_dependency "rspec", "~> 3.7"
41
+ spec.add_development_dependency "rspec-expectations", "~> 3.7"
42
+ spec.add_development_dependency "coveralls", "~> 0.8"
43
+
44
+ spec.add_development_dependency "pry", "~> 0.11"
45
+ end
data/lib/encrubto.rb ADDED
@@ -0,0 +1,8 @@
1
+ require "encrubto/version"
2
+ require 'encrubto/rot13'
3
+ require 'encrubto/caesar'
4
+ require 'encrubto/rotn'
5
+
6
+ module Encrubto
7
+ # Your code goes here...
8
+ end
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,15 @@
1
+
2
+ require 'encrubto/caesar/encryptor'
3
+
4
+ module Encrubto::Caesar
5
+
6
+ def self.encrypt(str, offset)
7
+ caesar = Encrubto::Caesar::Encryptor.new
8
+ caesar.encrypt(str, offset)
9
+ end
10
+
11
+ def self.decrypt(encrypted, offset)
12
+ caesar = Encrubto::Caesar::Encryptor.new
13
+ caesar.decrypt(encrypted, offset)
14
+ end
15
+ end
@@ -0,0 +1,40 @@
1
+ module Encrubto::Caesar
2
+ class Encryptor
3
+
4
+ ORIGINAL = 'abcdefghijklmnopqrstuvwxyz'
5
+
6
+ def encrypt(str, offset)
7
+ if str.is_a?(String) && offset.is_a?(Integer)
8
+ if 0 <= offset && offset <= 26
9
+ caesar = shift(offset)
10
+ str.tr("#{ ORIGINAL }#{ ORIGINAL.upcase }", "#{ caesar }#{ caesar.to_s.upcase }")
11
+ else
12
+ raise 'Offset must be between 0 and 26!'
13
+ end
14
+ else
15
+ raise 'First param must be String, second param must be Integer!'
16
+ end
17
+ end
18
+
19
+ def decrypt(encrypted, offset)
20
+ if encrypted.is_a?(String) && offset.is_a?(Integer)
21
+ if 0 <= offset && offset <= 26
22
+ caesar = shift(offset)
23
+ encrypted.tr("#{ caesar }#{ caesar.to_s.upcase }", "#{ ORIGINAL }#{ ORIGINAL.upcase }")
24
+ else
25
+ raise 'Offset must be between 0 and 26!'
26
+ end
27
+ else
28
+ raise 'First param must be String, second param must be Integer!'
29
+ end
30
+ end
31
+
32
+ def shift(offset)
33
+ caesar_first_part = ORIGINAL[offset..ORIGINAL.length-1]
34
+ caesar_second_part = ORIGINAL[0..offset-1]
35
+ caesar_first_part.to_s + caesar_second_part.to_s
36
+ end
37
+
38
+ end
39
+ end
40
+
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,15 @@
1
+
2
+ require 'encrubto/rot13/encryptor'
3
+
4
+ module Encrubto::Rot13
5
+
6
+ def self.encrypt(str)
7
+ rot13 = Encrubto::Rot13::Encryptor.new
8
+ rot13.encrypt(str)
9
+ end
10
+
11
+ def self.decrypt(encrypted)
12
+ rot13 = Encrubto::Rot13::Encryptor.new
13
+ rot13.decrypt(encrypted)
14
+ end
15
+ end
@@ -0,0 +1,19 @@
1
+
2
+ module Encrubto::Rot13
3
+ class Encryptor
4
+
5
+ ORI = 'abcdefghijklmnopqrstuvwxyz'
6
+ ROT = 'nopqrstuvwxyzabcdefghijklm'
7
+ def encrypt(str)
8
+ if str.is_a? String
9
+ str.tr("#{ ORI }#{ ORI.upcase }", "#{ ROT }#{ ROT.upcase }")
10
+ else
11
+ raise 'Param must be String!'
12
+ end
13
+ end
14
+
15
+ def decrypt(encrypted)
16
+ encrypt(encrypted)
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,14 @@
1
+ require 'encrubto/rotn/encryptor'
2
+
3
+ module Encrubto::RotN
4
+
5
+ def self.encrypt(str, offset)
6
+ rotn = Encrubto::RotN::Encryptor.new
7
+ rotn.encrypt(str, offset)
8
+ end
9
+
10
+ def self.decrypt(encrypted, offset)
11
+ rotn = Encrubto::RotN::Encryptor.new
12
+ rotn.decrypt(encrypted, offset)
13
+ end
14
+ end
@@ -0,0 +1,31 @@
1
+ module Encrubto::RotN
2
+ class Encryptor
3
+
4
+ ORIGINAL = 'abcdefghijklmnopqrstuvwxyz'
5
+
6
+ def encrypt(str, offset)
7
+ if str.is_a?(String) && offset.is_a?(Integer)
8
+ rotn = shift(offset % 26)
9
+ str.tr("#{ ORIGINAL }#{ ORIGINAL.upcase }", "#{ rotn }#{ rotn.to_s.upcase }")
10
+ else
11
+ raise 'First param must be String, second param must be Integer!'
12
+ end
13
+ end
14
+
15
+ def decrypt(encrypted, offset)
16
+ if encrypted.is_a?(String) && offset.is_a?(Integer)
17
+ rotn = shift(offset % 26)
18
+ encrypted.tr("#{ rotn }#{ rotn.to_s.upcase }", "#{ ORIGINAL }#{ ORIGINAL.upcase }")
19
+ else
20
+ raise 'First param must be String, second param must be Integer!'
21
+ end
22
+ end
23
+
24
+ def shift(offset)
25
+ first_part = ORIGINAL[offset..ORIGINAL.length-1]
26
+ second_part = ORIGINAL[0..offset-1]
27
+ first_part.to_s + second_part.to_s
28
+ end
29
+
30
+ end
31
+ end
File without changes
@@ -0,0 +1,3 @@
1
+ module Encrubto
2
+ VERSION = "0.2.0"
3
+ end
File without changes
data/setup.sh ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+
3
+ rbenv install 2.5.0
4
+ rbenv local 2.5.0
5
+
6
+ gem install bundler
7
+
8
+ bundle install
metadata ADDED
@@ -0,0 +1,162 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: encrubto
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Mark Torok
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2021-04-24 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: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '12.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '12.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.7'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.7'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec-expectations
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.7'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.7'
69
+ - !ruby/object:Gem::Dependency
70
+ name: coveralls
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.8'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.8'
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.11'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.11'
97
+ description: Ruby library intended to provide encryption algorithms.
98
+ email:
99
+ - torok.marko@gmail.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - ".gitignore"
105
+ - ".rspec"
106
+ - ".ruby-version"
107
+ - ".travis.yml"
108
+ - CODE_OF_CONDUCT.md
109
+ - Gemfile
110
+ - LICENSE
111
+ - README.md
112
+ - Rakefile
113
+ - bin/console
114
+ - bin/encrubto
115
+ - bin/setup
116
+ - encrubto.gemspec
117
+ - lib/encrubto.rb
118
+ - lib/encrubto/.keep
119
+ - lib/encrubto/affine/.keep
120
+ - lib/encrubto/ascii85/.keep
121
+ - lib/encrubto/base64/.keep
122
+ - lib/encrubto/beaufort/.keep
123
+ - lib/encrubto/binary/.keep
124
+ - lib/encrubto/caesar.rb
125
+ - lib/encrubto/caesar/encryptor.rb
126
+ - lib/encrubto/hex/.keep
127
+ - lib/encrubto/morse/.keep
128
+ - lib/encrubto/reverse/.keep
129
+ - lib/encrubto/roman/.keep
130
+ - lib/encrubto/rot13.rb
131
+ - lib/encrubto/rot13/encryptor.rb
132
+ - lib/encrubto/rotn.rb
133
+ - lib/encrubto/rotn/encryptor.rb
134
+ - lib/encrubto/url/.keep
135
+ - lib/encrubto/version.rb
136
+ - lib/encrubto/z85/.keep
137
+ - setup.sh
138
+ homepage: https://github.com/torokmark/encrubto
139
+ licenses:
140
+ - MIT
141
+ metadata:
142
+ allowed_push_host: https://rubygems.org
143
+ post_install_message:
144
+ rdoc_options: []
145
+ require_paths:
146
+ - lib
147
+ required_ruby_version: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: '2.4'
152
+ required_rubygems_version: !ruby/object:Gem::Requirement
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ version: '0'
157
+ requirements: []
158
+ rubygems_version: 3.2.3
159
+ signing_key:
160
+ specification_version: 4
161
+ summary: Encryption library
162
+ test_files: []