argon2-kdf 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +5 -1
- data/lib/argon2/kdf/version.rb +1 -1
- data/vendor/libargon2.dylib +0 -0
- data/vendor/libargon2.so +0 -0
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c8e58fa76a8e966254348bb2ba64e24a5a7ee02646b0856bacc4c40e16f8be2
|
4
|
+
data.tar.gz: 53e606fb96c846524ebf4a280e732e829abc40e3aaa31c180adae8454f25e485
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8e39d4d6be8256b0ce9562bc39c499b196b5dab263c73ac4830bcce71a4059349de08c9a1200e3d6d3225fdcd4dfdd2df0539456618607a5e4945baf3609412
|
7
|
+
data.tar.gz: 68dbf7a98e2add7ab7b065cd83b458e5b2ef04623187ef625dff0a440f7a732ff2d3db9e196f62705f2ce06c8f65c9ff7f3ff7315a311867b41eee1ba8a141ec
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -5,6 +5,10 @@
|
|
5
5
|
- No dependencies
|
6
6
|
- Works on Linux, Mac, and Windows
|
7
7
|
|
8
|
+
For password hashing, use the [argon2](https://github.com/technion/ruby-argon2) gem
|
9
|
+
|
10
|
+
[![Build Status](https://travis-ci.org/ankane/argon2-kdf.svg?branch=master)](https://travis-ci.org/ankane/argon2-kdf) [![Build status](https://ci.appveyor.com/api/projects/status/97dt08xomsq2rsar/branch/master?svg=true)](https://ci.appveyor.com/project/ankane/argon2-kdf/branch/master)
|
11
|
+
|
8
12
|
## Installation
|
9
13
|
|
10
14
|
Add this line to your application’s Gemfile:
|
@@ -16,7 +20,7 @@ gem 'argon2-kdf'
|
|
16
20
|
## Getting Started
|
17
21
|
|
18
22
|
```ruby
|
19
|
-
Argon2::KDF.argon2id("pass", salt: "
|
23
|
+
Argon2::KDF.argon2id("pass", salt: "somesalt", t: 3, m: 15, p: 1, length: 32)
|
20
24
|
```
|
21
25
|
|
22
26
|
`argon2i` and `argon2d` are also supported
|
data/lib/argon2/kdf/version.rb
CHANGED
data/vendor/libargon2.dylib
CHANGED
Binary file
|
data/vendor/libargon2.so
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: argon2-kdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '5'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: benchmark-ips
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
description:
|
56
70
|
email: andrew@chartkick.com
|
57
71
|
executables: []
|