aes-g 1.0.2 → 1.0.3
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/aes.gemspec +1 -1
- data/lib/aes/aes.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3d1b6cca23ae2981aec5b81955a6ccf83c9fc583
|
|
4
|
+
data.tar.gz: 001b27fc3db27f9e250fd783c535f86214fca26d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 598e7f7a6cbb442a231625ebab535f29b0d5e4190eb86fac4b9a9727b558de2c3c22b3ce3910283e51004760bb7d01fd49ea4c3597b005427aad3fa24c712bc9
|
|
7
|
+
data.tar.gz: 7ff86f080b8d30873218072aaf8bd01e9dbab4366c577ea2fa21a3a529f1ca2e3afd09f310093b1c5cee096aca9210458953c2a6fa111665afe1883731d37d20
|
data/aes.gemspec
CHANGED
data/lib/aes/aes.rb
CHANGED
|
@@ -148,7 +148,7 @@ module AES
|
|
|
148
148
|
|
|
149
149
|
# Create a new cipher using the cipher type specified
|
|
150
150
|
def _setup(action)
|
|
151
|
-
@cipher ||= OpenSSL::Cipher
|
|
151
|
+
@cipher ||= OpenSSL::Cipher.new(@options[:cipher])
|
|
152
152
|
# Toggles encryption mode
|
|
153
153
|
@cipher.send(action)
|
|
154
154
|
@cipher.padding = @options[:padding]
|