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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 94502c59e36f3822c681b2fe0810810618b609ce
4
- data.tar.gz: cacc9e8da502df18f4ec2e5f868a8bd49359d6f9
3
+ metadata.gz: a6ee58c4463bd652dcdb5f7c3bc8b0ec03f4d0e4
4
+ data.tar.gz: 3bf76cb1750789f798a1a8554ffe1abc65acda55
5
5
  SHA512:
6
- metadata.gz: fd0db288ae3e11d110bc384982520d021b81d63e617bab5b952c4f112f0d6a384a299c358236dce001c05b45629871b1bfab79935c7ad5829c9a4a557cf9764f
7
- data.tar.gz: 25ba334f4a68f15b594970416188e6cc52d713aadfa8663b895875ba6ce43720305aa270bf915f53505db0e70f43db1ab2baaa357df4dd361a0d5722b8b02a5c
6
+ metadata.gz: 02f0d59dc2ba610658959e8cc4add746d4851fde6e7b53be112c0b75ddb3d7f9b71c0d14d2a4e84c6fbdf0c2b3be8eaa8fbfa57fa6264345ec1f7933acc6838a
7
+ data.tar.gz: '08da18d3d481efe20d48fcc83ab92ee99fb8cab196ee20b780e547fd46ad18c4fb45ac9708b3f532d455eda84ce4338597e5ee279d8aa1e09d35a87742ac5f79'
@@ -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 > 10
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  # Standard Gem version constant.
3
3
  module Argon2
4
- VERSION = "1.1.3".freeze
4
+ VERSION = "1.1.4".freeze
5
5
  end
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.3
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-04-19 00:00:00.000000000 Z
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.8
254
+ rubygems_version: 2.6.13
255
255
  signing_key:
256
256
  specification_version: 4
257
257
  summary: Argon2 Password hashing binding