feat: Add MD5 Hashing Algorithm (#1595)

* clang-format and clang-tidy fixes for 89d118bb

* feat: add md5 hashing algorithm, namespace md5

* updating DIRECTORY.md

* docs: added missing docs and cleared syntax

* Added newline at the end of file

* clang-format and clang-tidy fixes for b7b32ac7

* Comments for libs, put global funcs as static

* clang-format and clang-tidy fixes for d5da4807

* docs: added additional comments

* docs: Fixed some newlines in doxygen docs

* Changed incorrect comment

* Fixed docs & cleared potential endianness problems

* Removed useless line

* Clarified how to exit interactive mode

* Better wording

* Improved interactive mode

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
tGautot
2021-09-24 18:35:31 +02:00
committed by GitHub
parent 9f5bfc7230
commit 404e2c15b3
3 changed files with 386 additions and 1 deletions

View File

@@ -52,7 +52,8 @@ namespace selection_sort_recursive {
* @returns index of the minimum element
*/
template <typename T>
uint64_t findMinIndex(const std::vector<T> &in_arr, uint64_t current_position = 0) {
uint64_t findMinIndex(const std::vector<T> &in_arr,
uint64_t current_position = 0) {
if (current_position + 1 == in_arr.size()) {
return current_position;
}