sha512t 0.0.1 → 0.0.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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sha512.rb +1 -1
  3. data/lib/sha512t.rb +1 -1
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fc5405f22e2bfc683bc70da75ffc58cb3a0bce83
4
- data.tar.gz: 60ce990bf63935afa00266c5d038b81d1056d3f5
3
+ metadata.gz: 2829c30ba19cb48066239992d14753ec4d546c49
4
+ data.tar.gz: a68b9c8fc14233070fa58a5a35e592b1c5e32ab7
5
5
  SHA512:
6
- metadata.gz: 42d3338109350f052f21f15d23ecc897160826fa258a2d5f35f387c95f9b5227187942f8191b8e4f50469415890e13c667c2db811b60f0f733028ba9c5ef8dc5
7
- data.tar.gz: abcf6e5211d4d20ec5c9cede9209229acc2b5f6de5b0605afd8e49dad6f2825a319b5cc0f17edfd1355f7394fcd825e125e3bbd7f9f2de81038a0cc6c85a392d
6
+ metadata.gz: 03f933eb7dcc7ffedf728a7c9dfe68bffde142666a39096d03d8b3a3ed807cba61cf5ac8f5d37652350f5ea7214c4e19619a79269a089aa9cc5a730de72ddb26
7
+ data.tar.gz: 87606be5de26152b4e6df998e4d431a630b4812d16f80e0b4420cdc4e59bbba4ac19ddc51c6a292cbc363e31d63b429d5e7bf97ae3c65d23b4e0251f73946526
data/lib/sha512.rb CHANGED
@@ -92,7 +92,7 @@ class Sha512
92
92
  h6 = iv[6]
93
93
  h7 = iv[7]
94
94
 
95
- for i in 1..p.size/15
95
+ for i in 1..p.size/16
96
96
 
97
97
  # Initialize the eight working variables, a, b, c, d, e, f, g, and h, with the (i-1)-st hash value:
98
98
  a, b, c, d, e, f, g, h = h0, h1, h2, h3, h4, h5, h6, h7
data/lib/sha512t.rb CHANGED
@@ -1,4 +1,4 @@
1
- # FIPS PUB 180-4 SHA512 hashing
1
+ # FIPS PUB 180-4 SHA512/t hashing
2
2
  # written by Frederic Walch
3
3
 
4
4
  # Permission is hereby granted, free of charge, to any person obtaining
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sha512t
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frederic Walch
@@ -29,17 +29,17 @@ require_paths:
29
29
  - lib
30
30
  required_ruby_version: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '>='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: '0'
35
35
  required_rubygems_version: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - '>='
37
+ - - ">="
38
38
  - !ruby/object:Gem::Version
39
39
  version: '0'
40
40
  requirements: []
41
41
  rubyforge_project:
42
- rubygems_version: 2.0.14
42
+ rubygems_version: 2.4.6
43
43
  signing_key:
44
44
  specification_version: 4
45
45
  summary: sha512/t hashing