phpass-ruby 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -2
- metadata +9 -2
data/README.md
CHANGED
@@ -4,14 +4,15 @@ All files within this package are in public domain.
|
|
4
4
|
|
5
5
|
# Install
|
6
6
|
|
7
|
-
$ gem install phpass
|
7
|
+
$ gem install phpass-ruby
|
8
8
|
|
9
9
|
# Usage
|
10
10
|
|
11
11
|
require "rubygems"
|
12
12
|
require "phpass"
|
13
13
|
|
14
|
-
# 12 is password strength / calculation time. This is trade-off.
|
14
|
+
# 12 is password strength / calculation time. This is trade-off.
|
15
|
+
# 8 <= strength <= 128 (default: 8)
|
15
16
|
phpass = Phpass.new(12)
|
16
17
|
|
17
18
|
# Get hashed string. These are different result each time.
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phpass-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 25
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- uu59
|
@@ -25,6 +26,7 @@ dependencies:
|
|
25
26
|
requirements:
|
26
27
|
- - ~>
|
27
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 11
|
28
30
|
segments:
|
29
31
|
- 2
|
30
32
|
- 1
|
@@ -40,6 +42,7 @@ dependencies:
|
|
40
42
|
requirements:
|
41
43
|
- - ~>
|
42
44
|
- !ruby/object:Gem::Version
|
45
|
+
hash: 23
|
43
46
|
segments:
|
44
47
|
- 1
|
45
48
|
- 0
|
@@ -55,6 +58,7 @@ dependencies:
|
|
55
58
|
requirements:
|
56
59
|
- - ~>
|
57
60
|
- !ruby/object:Gem::Version
|
61
|
+
hash: 1
|
58
62
|
segments:
|
59
63
|
- 1
|
60
64
|
- 5
|
@@ -70,6 +74,7 @@ dependencies:
|
|
70
74
|
requirements:
|
71
75
|
- - ">="
|
72
76
|
- !ruby/object:Gem::Version
|
77
|
+
hash: 3
|
73
78
|
segments:
|
74
79
|
- 0
|
75
80
|
version: "0"
|
@@ -107,6 +112,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
107
112
|
requirements:
|
108
113
|
- - ">="
|
109
114
|
- !ruby/object:Gem::Version
|
115
|
+
hash: 3
|
110
116
|
segments:
|
111
117
|
- 0
|
112
118
|
version: "0"
|
@@ -115,6 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
121
|
requirements:
|
116
122
|
- - ">="
|
117
123
|
- !ruby/object:Gem::Version
|
124
|
+
hash: 3
|
118
125
|
segments:
|
119
126
|
- 0
|
120
127
|
version: "0"
|