We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4664342 + 24624d1 commit 774f384Copy full SHA for 774f384
src/lib/rinchi_hashing.cpp
@@ -142,7 +142,7 @@ std::string hash17char(const std::string& input)
142
result += base26_triplet_3(chksum);
143
result += base26_triplet_4(chksum);
144
result += base26_dublet_for_bits_56_to_64(chksum);
145
- // chksum[8] = bits 65->...
+ // chksum[8] = bits 64.. (bit 64 is used twice)
146
result += base26_triplet_1(&chksum[8]);
147
#ifdef RINCHI_DEBUG_OUTPUT_HASHING
148
std::cout << "[#17[" << input << "]#] => " << result << std::endl;
@@ -157,3 +157,4 @@ const std::string HASH_14_EMPTY_STRING = "UHFFFADPSCTJAU";
157
const std::string HASH_17_EMPTY_STRING = "UHFFFADPSCTJAUYIS";
158
159
} // end of namespace
160
+
0 commit comments