Finished implementing, now for the testing phase.

This commit is contained in:
2025-01-26 21:43:17 -08:00
parent 7bc4b9977d
commit 981b40d3b1
47 changed files with 2070 additions and 1597 deletions

View File

@@ -1,6 +1,7 @@
#pragma once
#include "ehs/Str.h"
#include "ehs/Version.h"
namespace ehs
{
@@ -11,16 +12,16 @@ namespace ehs
private:
friend class EHC;
EHC *owner;
UInt_64 hashId;
Str_8 id;
UInt_64 id;
Str_8 name;
Version version;
public:
virtual ~NetEnc() = default;
NetEnc();
NetEnc(Str_8 id);
NetEnc(Str_8 name, const Version &version);
NetEnc(NetEnc &&enc) noexcept;
@@ -30,14 +31,14 @@ namespace ehs
NetEnc &operator=(const NetEnc &enc);
EHC *GetOwner() const;
UInt_64 GetId() const;
UInt_64 GetHashId() const;
Str_8 GetName() const;
Str_8 GetId() const;
Version GetVersion() const;
virtual void Encrypt(Byte *data, UInt_64 size) const;
virtual void Decrypt(Byte *data, UInt_64 size) const;
};
}
}