scrypt 2.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +3 -2
- data/README.md +3 -3
- data/Rakefile +5 -3
- data/ext/scrypt/Rakefile +5 -1
- data/ext/scrypt/cpusupport.h +105 -0
- data/ext/scrypt/crypto_scrypt.c +257 -0
- data/ext/scrypt/crypto_scrypt.h +1 -0
- data/ext/scrypt/crypto_scrypt_internal.h +0 -0
- data/ext/scrypt/crypto_scrypt_smix.c +214 -0
- data/ext/scrypt/crypto_scrypt_smix.h +14 -0
- data/ext/scrypt/{crypto_scrypt-sse.c → crypto_scrypt_smix_sse2.c} +21 -142
- data/ext/scrypt/crypto_scrypt_smix_sse2.h +16 -0
- data/ext/scrypt/insecure_memzero.c +19 -0
- data/ext/scrypt/insecure_memzero.h +37 -0
- data/ext/scrypt/sha256.c +344 -229
- data/ext/scrypt/sha256.h +84 -50
- data/ext/scrypt/warnp.c +76 -0
- data/ext/scrypt/warnp.h +59 -0
- data/lib/scrypt/security_utils.rb +23 -0
- data/lib/scrypt/version.rb +1 -1
- data/lib/scrypt.rb +4 -3
- data/scrypt.gemspec +4 -3
- data/spec/scrypt/engine_spec.rb +23 -21
- data/spec/scrypt/password_spec.rb +25 -25
- data/spec/scrypt/utils_spec.rb +12 -0
- data.tar.gz.sig +0 -0
- metadata +38 -22
- metadata.gz.sig +2 -2
metadata
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrypt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrick Hogan
|
8
8
|
- Stephen von Takach
|
9
|
+
- Rene van Paassen
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain:
|
@@ -13,26 +14,26 @@ cert_chain:
|
|
13
14
|
-----BEGIN CERTIFICATE-----
|
14
15
|
MII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egRxzdGV2ZUBhZHZhbmNlZGNv
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
29
|
+
bnRyb2wuY29tLmF1MA0GCSqGSIb3DQEBBQUAA4IBAQB/DUhYFbdLHAuZMgjwNUxF
|
30
|
+
tnf3a2o40p9mEtVm48yxfP9/9w6xh+gRN/rbBCkKbe2zSue9Nnr3zfKNONfqePlz
|
31
|
+
9BZOMx7LO/wFOkuWONIU+U7v5Obxi7a0bjZ6OQnY5M6FpuWG5RT6hVIlkbrh40Xd
|
32
|
+
SgbJ2CyHXTL3tC7ykvvI5nXQLE6OG8lyHk5Cop2Lbm4qeBVCVEDgDsXi/PFP+hjk
|
33
|
+
wpN2wi2CVPoj+c4bOYxgvF17WNGDWYdVEXXCRzoqGbA2kLbTH1o9BxI6NBzmfwyH
|
34
|
+
LY7uYxN8Hy8S4Oto/gB1eREHqYwwXt3TmlJ6kAVGbO5y9xblPncdnfwNLCUnPfxN
|
34
35
|
-----END CERTIFICATE-----
|
35
|
-
date:
|
36
|
+
date: 2016-08-15 00:00:00.000000000 Z
|
36
37
|
dependencies:
|
37
38
|
- !ruby/object:Gem::Dependency
|
38
39
|
name: ffi-compiler
|
@@ -40,14 +41,14 @@ dependencies:
|
|
40
41
|
requirements:
|
41
42
|
- - ">="
|
42
43
|
- !ruby/object:Gem::Version
|
43
|
-
version: 0.0
|
44
|
+
version: 1.0.0
|
44
45
|
type: :runtime
|
45
46
|
prerelease: false
|
46
47
|
version_requirements: !ruby/object:Gem::Requirement
|
47
48
|
requirements:
|
48
49
|
- - ">="
|
49
50
|
- !ruby/object:Gem::Version
|
50
|
-
version: 0.0
|
51
|
+
version: 1.0.0
|
51
52
|
- !ruby/object:Gem::Dependency
|
52
53
|
name: rake
|
53
54
|
requirement: !ruby/object:Gem::Requirement
|
@@ -111,6 +112,7 @@ description: |2
|
|
111
112
|
email:
|
112
113
|
- pbhogan@gmail.com
|
113
114
|
- steve@advancedcontrol.com.au
|
115
|
+
- rene.vanpaassen@gmail.com
|
114
116
|
executables: []
|
115
117
|
extensions:
|
116
118
|
- ext/scrypt/Rakefile
|
@@ -121,8 +123,16 @@ files:
|
|
121
123
|
- Rakefile
|
122
124
|
- autotest/discover.rb
|
123
125
|
- ext/scrypt/Rakefile
|
124
|
-
- ext/scrypt/
|
126
|
+
- ext/scrypt/cpusupport.h
|
127
|
+
- ext/scrypt/crypto_scrypt.c
|
125
128
|
- ext/scrypt/crypto_scrypt.h
|
129
|
+
- ext/scrypt/crypto_scrypt_internal.h
|
130
|
+
- ext/scrypt/crypto_scrypt_smix.c
|
131
|
+
- ext/scrypt/crypto_scrypt_smix.h
|
132
|
+
- ext/scrypt/crypto_scrypt_smix_sse2.c
|
133
|
+
- ext/scrypt/crypto_scrypt_smix_sse2.h
|
134
|
+
- ext/scrypt/insecure_memzero.c
|
135
|
+
- ext/scrypt/insecure_memzero.h
|
126
136
|
- ext/scrypt/memlimit.c
|
127
137
|
- ext/scrypt/memlimit.h
|
128
138
|
- ext/scrypt/scrypt_calibrate.c
|
@@ -135,12 +145,16 @@ files:
|
|
135
145
|
- ext/scrypt/sha256.c
|
136
146
|
- ext/scrypt/sha256.h
|
137
147
|
- ext/scrypt/sysendian.h
|
148
|
+
- ext/scrypt/warnp.c
|
149
|
+
- ext/scrypt/warnp.h
|
138
150
|
- lib/scrypt.rb
|
139
151
|
- lib/scrypt/scrypt_ext.rb
|
152
|
+
- lib/scrypt/security_utils.rb
|
140
153
|
- lib/scrypt/version.rb
|
141
154
|
- scrypt.gemspec
|
142
155
|
- spec/scrypt/engine_spec.rb
|
143
156
|
- spec/scrypt/password_spec.rb
|
157
|
+
- spec/scrypt/utils_spec.rb
|
144
158
|
- spec/spec_helper.rb
|
145
159
|
homepage: https://github.com/pbhogan/scrypt
|
146
160
|
licenses:
|
@@ -162,11 +176,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
176
|
version: '0'
|
163
177
|
requirements: []
|
164
178
|
rubyforge_project: scrypt
|
165
|
-
rubygems_version: 2.
|
179
|
+
rubygems_version: 2.5.1
|
166
180
|
signing_key:
|
167
181
|
specification_version: 4
|
168
182
|
summary: scrypt password hashing algorithm.
|
169
183
|
test_files:
|
170
184
|
- spec/scrypt/engine_spec.rb
|
171
185
|
- spec/scrypt/password_spec.rb
|
186
|
+
- spec/scrypt/utils_spec.rb
|
172
187
|
- spec/spec_helper.rb
|
188
|
+
has_rdoc:
|
metadata.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
q��k���)�=�Ot���]n:�
|
2
|
+
MP5��ۈ����r9�U���̠���4���c�EJ([���S��h@����?ƕ��:A�E�ߩ�W�}�$v���5`��<3v䴕���:Y^h�J�ch7P�+�څ�Q e�w_�T$�/�D���f�\��{.z0Kb�O�!��\�5��Z��FNR��7i�٫u/p־�lT��c��Nq�
|