gibberish 1.3.1 → 1.4.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 +4 -4
- data/.travis.yml +2 -2
- data/CHANGELOG.mdown +3 -0
- data/Rakefile +1 -1
- data/lib/gibberish/hmac.rb +5 -5
- data/lib/gibberish/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb91ee54144607b435939ae489177ad3d945c289
|
4
|
+
data.tar.gz: 77d0ad48cb4b73c17c668551b22bb6174d3dd514
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d74406ff02f4149972d6c43fc87e87074ab6627273dfc2f4469107516a9dc466887704eb783ccf544ded546903e1a1ec3fca1383b63f60dfc56c420e5a7fa97
|
7
|
+
data.tar.gz: 18888bca02b332aa695ae348025a2609538787e1c9e8f9fad27efa80c347dee1f20b4ff51d54fc75a563086a90d7f1783922571c289f389e21f759a5dc002c4b
|
data/.travis.yml
CHANGED
data/CHANGELOG.mdown
CHANGED
data/Rakefile
CHANGED
data/lib/gibberish/hmac.rb
CHANGED
@@ -25,11 +25,11 @@ module Gibberish
|
|
25
25
|
#
|
26
26
|
class HMAC
|
27
27
|
DIGEST = {
|
28
|
-
:sha1 => OpenSSL::Digest
|
29
|
-
:sha224 => OpenSSL::Digest
|
30
|
-
:sha256 => OpenSSL::Digest
|
31
|
-
:sha384 => OpenSSL::Digest
|
32
|
-
:sha512 => OpenSSL::Digest
|
28
|
+
:sha1 => OpenSSL::Digest.new('sha1'),
|
29
|
+
:sha224 => OpenSSL::Digest.new('sha224'),
|
30
|
+
:sha256 => OpenSSL::Digest.new('sha256'),
|
31
|
+
:sha384 => OpenSSL::Digest.new('sha384'),
|
32
|
+
:sha512 => OpenSSL::Digest.new('sha512')
|
33
33
|
}
|
34
34
|
|
35
35
|
# Returns the HMAC for the key and data
|
data/lib/gibberish/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gibberish
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Percival
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Supports OpenSSL compatible AES, HMAC, and RSA encryption
|
14
14
|
email:
|