hashpasswd 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/hashpasswd.rb +3 -0
  2. metadata +2 -2
@@ -61,6 +61,9 @@ module Hashpasswd
61
61
  return pbkdf2 == testhash
62
62
  end
63
63
 
64
+ # Get the values of all constants
65
+ # @param none
66
+ # @return [Hash] of all constants
64
67
  def self.getconstants()
65
68
  return {:HASH_SECTIONS => HASH_SECTIONS, :ITERATIONS_INDEX => ITERATIONS_INDEX, :SALT_INDEX => SALT_INDEX, :HASH_INDEX => HASH_INDEX, :DEFAULT_DELIMETER => DEFAULT_DELIMETER}
66
69
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hashpasswd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-23 00:00:00.000000000 Z
12
+ date: 2013-08-06 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Password hashing and validation using OpenSSL::PKCS5::pbkdf2_hmac for
15
15
  the hash and SecureRandom.base64 for the salt. Digest defaults to SHA1, but can