krypton 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +0 -0
- data/.rspec +0 -0
- data/.travis.yml +0 -0
- data/CODE_OF_CONDUCT.md +0 -0
- data/Gemfile +0 -0
- data/Gemfile.lock +0 -0
- data/LICENSE.txt +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/bin/console +0 -0
- data/bin/krypton +2 -1
- data/bin/setup +0 -0
- data/krypton.gemspec +1 -1
- data/lib/core.rb +1 -0
- data/lib/core/aes.rb +0 -0
- data/lib/core/constants.rb +1 -1
- data/lib/core/sha.rb +13 -0
- data/lib/core/text.rb +0 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 13cc16003ed6ba4cb33f16121c9eabebead852c86c4afce9a741f29e96c46a29
|
4
|
+
data.tar.gz: ed4c40a2a268370f4671bd0ed38505814a23be8275050e58adc59f9b305a0045
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 416a4f5be68dfdb227eb9b44183d3e2a4a43c6f9bd01ab39caf69308a76fefba31b073e16663242a4992310e68938f834a3a0d1c23f80c5fdfb82ca8579df9cb
|
7
|
+
data.tar.gz: 502fe088cd81cc66cf8f66620bb0dbdf10a6cccef0164b6ad4fc2f7f88a3dfef835e6ffae4093f5306753a87cb5e19f11df4f05d57badf8a2cf1aad978ae1621
|
data/.gitignore
CHANGED
File without changes
|
data/.rspec
CHANGED
File without changes
|
data/.travis.yml
CHANGED
File without changes
|
data/CODE_OF_CONDUCT.md
CHANGED
File without changes
|
data/Gemfile
CHANGED
File without changes
|
data/Gemfile.lock
CHANGED
File without changes
|
data/LICENSE.txt
CHANGED
File without changes
|
data/README.md
CHANGED
File without changes
|
data/Rakefile
CHANGED
File without changes
|
data/bin/console
CHANGED
File without changes
|
data/bin/krypton
CHANGED
@@ -56,7 +56,8 @@ while (opt = ARGV.shift) do
|
|
56
56
|
puts "#{ARGV[ARGV.length - 2] + ' => '}#{Paint[result.strip, '#2ecc71']}"
|
57
57
|
exit 0
|
58
58
|
when 'hash'
|
59
|
-
|
59
|
+
result = Krypton::SHA.hash(ARGV[ARGV.length - 1], options[:raw])
|
60
|
+
puts "#{ARGV[ARGV.length - 1] + ' => '}#{Paint[result.strip, '#2ecc71']}"
|
60
61
|
exit 0
|
61
62
|
else
|
62
63
|
puts "#{opt} is not a valid action!"
|
data/bin/setup
CHANGED
File without changes
|
data/krypton.gemspec
CHANGED
@@ -3,7 +3,7 @@ require "core"
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |spec|
|
5
5
|
spec.name = "krypton"
|
6
|
-
spec.version =
|
6
|
+
spec.version = VERSION
|
7
7
|
spec.authors = ["cbrnrd"]
|
8
8
|
spec.email = ["0xCB@protonmail.com"]
|
9
9
|
spec.summary = %q{A command-line tool for easy encryption and decryption of data.}
|
data/lib/core.rb
CHANGED
data/lib/core/aes.rb
CHANGED
File without changes
|
data/lib/core/constants.rb
CHANGED
data/lib/core/sha.rb
CHANGED
data/lib/core/text.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: krypton
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cbrnrd
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
154
|
version: '0'
|
155
155
|
requirements: []
|
156
156
|
rubyforge_project:
|
157
|
-
rubygems_version: 2.
|
157
|
+
rubygems_version: 2.7.3
|
158
158
|
signing_key:
|
159
159
|
specification_version: 4
|
160
160
|
summary: A command-line tool for easy encryption and decryption of data.
|