cryptatron 0.0.3 → 0.0.4

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.
data/cryptatron.gemspec CHANGED
@@ -5,8 +5,8 @@ require 'cryptatron/version'
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'cryptatron'
7
7
  spec.version = Cryptatron::VERSION
8
- spec.authors = ['Alex Reed']
9
- spec.email = ['alexreed@outlook.com']
8
+ spec.authors = ['Alex Reed', 'Gabriel Kirkpatrick']
9
+ spec.email = ['alexreed@outlook.com', 'g@be-k.biz']
10
10
  spec.summary = 'Encryption for internal secure requests'
11
11
 
12
12
  spec.files = `git ls-files`.split($/)
data/lib/cryptatron.rb CHANGED
@@ -32,7 +32,7 @@ module Cryptatron
32
32
 
33
33
  settings = YAML::load_file "#{Rails.root}/config/crypt-a-tron.yml"
34
34
  @key = Base64.strict_decode64 settings['key']
35
- @cipher = Gibberish::AES.new(@key, @key.length)
35
+ @cipher = Gibberish::AES.new(@key, @key.length * 8)
36
36
 
37
37
  @initialized = true
38
38
  end
@@ -1,3 +1,3 @@
1
1
  module Cryptatron
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,15 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cryptatron
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Alex Reed
9
+ - Gabriel Kirkpatrick
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2013-05-08 00:00:00.000000000 Z
13
+ date: 2013-05-14 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: gibberish
@@ -46,6 +47,7 @@ dependencies:
46
47
  description:
47
48
  email:
48
49
  - alexreed@outlook.com
50
+ - g@be-k.biz
49
51
  executables: []
50
52
  extensions: []
51
53
  extra_rdoc_files: []