Rename subdir Chaos/Hashing --> Chaos/Hash

This commit is contained in:
hashlag
2025-08-15 23:01:51 +03:00
parent 0006593087
commit e6703e13af
6 changed files with 24 additions and 24 deletions

View File

@@ -1,9 +1,9 @@
#ifndef CHAOS_HASHING_HASH_HPP #ifndef CHAOS_HASH_HASH_HPP
#define CHAOS_HASHING_HASH_HPP #define CHAOS_HASH_HASH_HPP
#include <string> #include <string>
namespace Chaos::Hashing namespace Chaos::Hash
{ {
template<typename T> template<typename T>
@@ -32,6 +32,6 @@ private:
} }
}; };
} // namespace Chaos::Hashing } // namespace Chaos::Hash
#endif #endif

View File

@@ -1,7 +1,7 @@
#ifndef CHAOS_HASHING_HASHER_HPP #ifndef CHAOS_HASH_HASHER_HPP
#define CHAOS_HASHING_HASHER_HPP #define CHAOS_HASH_HASHER_HPP
namespace Chaos::Hashing namespace Chaos::Hash
{ {
template<typename T> template<typename T>
@@ -31,6 +31,6 @@ private:
} }
}; };
} // namespace Chaos::Hashing } // namespace Chaos::Hash
#endif #endif

View File

@@ -1,5 +1,5 @@
#ifndef CHAOS_HASHING_MD4HASHER_HPP #ifndef CHAOS_HASH_MD4HASHER_HPP
#define CHAOS_HASHING_MD4HASHER_HPP #define CHAOS_HASH_MD4HASHER_HPP
#include <cstdint> #include <cstdint>
#include <array> #include <array>
@@ -8,7 +8,7 @@
#include "Hash.hpp" #include "Hash.hpp"
#include "Hasher.hpp" #include "Hasher.hpp"
namespace Chaos::Hashing::Md4::Inner_ namespace Chaos::Hash::Md4::Inner_
{ {
struct Buffer struct Buffer
@@ -129,9 +129,9 @@ private:
} }
}; };
} // namespace Chaos::Hashing::Md4::Inner_ } // namespace Chaos::Hash::Md4::Inner_
namespace Chaos::Hashing::Md4 namespace Chaos::Hash::Md4
{ {
struct Md4Hash : public Hash<Md4Hash> struct Md4Hash : public Hash<Md4Hash>
@@ -284,6 +284,6 @@ private:
} }
}; };
} // namespace Chaos::Hashing::Md4 } // namespace Chaos::Hash::Md4
#endif #endif

View File

@@ -1,5 +1,5 @@
#ifndef CHAOS_HASHING_MD5HASHER_HPP #ifndef CHAOS_HASH_MD5HASHER_HPP
#define CHAOS_HASHING_MD5HASHER_HPP #define CHAOS_HASH_MD5HASHER_HPP
#include <cstdint> #include <cstdint>
#include <array> #include <array>
@@ -8,7 +8,7 @@
#include "Hash.hpp" #include "Hash.hpp"
#include "Hasher.hpp" #include "Hasher.hpp"
namespace Chaos::Hashing::Md5::Inner_ namespace Chaos::Hash::Md5::Inner_
{ {
struct Buffer struct Buffer
@@ -153,9 +153,9 @@ private:
} }
}; };
} // namespace Chaos::Hashing::Md5::Inner_ } // namespace Chaos::Hash::Md5::Inner_
namespace Chaos::Hashing::Md5 namespace Chaos::Hash::Md5
{ {
struct Md5Hash : public Hash<Md5Hash> struct Md5Hash : public Hash<Md5Hash>
@@ -308,6 +308,6 @@ private:
} }
}; };
} // namespace Chaos::Hashing::Md5 } // namespace Chaos::Hash::Md5
#endif #endif

View File

@@ -1,8 +1,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Hashing/Md4.hpp" #include "Hash/Md4.hpp"
using namespace Chaos::Hashing::Md4; using namespace Chaos::Hash::Md4;
TEST(Md4Tests, RFCTest) TEST(Md4Tests, RFCTest)
{ {

View File

@@ -1,8 +1,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Hashing/Md5.hpp" #include "Hash/Md5.hpp"
using namespace Chaos::Hashing::Md5; using namespace Chaos::Hash::Md5;
TEST(Md5Tests, RFCTest) TEST(Md5Tests, RFCTest)
{ {