argon2 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/argon2.rb +1 -1
- data/lib/argon2/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6ee58c4463bd652dcdb5f7c3bc8b0ec03f4d0e4
|
4
|
+
data.tar.gz: 3bf76cb1750789f798a1a8554ffe1abc65acda55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02f0d59dc2ba610658959e8cc4add746d4851fde6e7b53be112c0b75ddb3d7f9b71c0d14d2a4e84c6fbdf0c2b3be8eaa8fbfa57fa6264345ec1f7933acc6838a
|
7
|
+
data.tar.gz: '08da18d3d481efe20d48fcc83ab92ee99fb8cab196ee20b780e547fd46ad18c4fb45ac9708b3f532d455eda84ce4338597e5ee279d8aa1e09d35a87742ac5f79'
|
data/lib/argon2.rb
CHANGED
@@ -10,7 +10,7 @@ module Argon2
|
|
10
10
|
class Password
|
11
11
|
def initialize(options = {})
|
12
12
|
@t_cost = options[:t_cost] || 2
|
13
|
-
raise ArgonHashFail, "Invalid t_cost" if @t_cost < 1 || @t_cost >
|
13
|
+
raise ArgonHashFail, "Invalid t_cost" if @t_cost < 1 || @t_cost > 750
|
14
14
|
@m_cost = options[:m_cost] || 16
|
15
15
|
raise ArgonHashFail, "Invalid m_cost" if @m_cost < 1 || @m_cost > 31
|
16
16
|
@salt = options[:salt_do_not_supply] || Engine.saltgen
|
data/lib/argon2/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: argon2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Technion
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -251,7 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
251
251
|
version: '0'
|
252
252
|
requirements: []
|
253
253
|
rubyforge_project:
|
254
|
-
rubygems_version: 2.6.
|
254
|
+
rubygems_version: 2.6.13
|
255
255
|
signing_key:
|
256
256
|
specification_version: 4
|
257
257
|
summary: Argon2 Password hashing binding
|