rails_compatible_cookies_utils 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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ef9d51e684d6b20c802e77325b16ef49064bcea
|
4
|
+
data.tar.gz: 95770f281782f3318178b89138527eb6b771a50b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0dafb39a0413eccea7f832e6ebcdead8c8721fd305436b41d20b75a8df207a5fcbffcd8c098b2d52041171bbbbe9d981f0bbb8c6a9e6e8ee99205850f11cb62c
|
7
|
+
data.tar.gz: 65ee138da9a7663e03c765f4623b2259ec0b52b2602a5f461cff05139a784ce36d1eb76161f2372efada365d52654c9c9084f66f201c7bdb8e51f7cc12fd4b5e
|
@@ -61,7 +61,7 @@ class RailsCompatibleCookiesUtils
|
|
61
61
|
end
|
62
62
|
|
63
63
|
def encrypted_secret
|
64
|
-
@encrypted_secret ||= generate_key(@encrypted_salt)[0,
|
64
|
+
@encrypted_secret ||= generate_key(@encrypted_salt)[0, OpenSSL::Cipher.new(@cipher).key_len]
|
65
65
|
end
|
66
66
|
|
67
67
|
def generate_key(salt)
|