Add the Arc4 PRNG draft implementation

This commit is contained in:
hashlag
2025-08-25 00:07:24 +03:00
parent 7bb7e32be8
commit e884ae7cd4
4 changed files with 486 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
#ifndef CHAOS_SERVICE_CHAOSEXCEPTION_HPP
#define CHAOS_SERVICE_CHAOSEXCEPTION_HPP
#include <string>
namespace Chaos::Service
{
class ChaosException
{
public:
ChaosException(std::string && message)
: Message_(std::move(message))
{ }
ChaosException(const std::string & message)
: Message_(message)
{ }
const std::string & GetMessage() const
{
return Message_;
}
private:
std::string Message_;
};
} // namespace Chaos::Service
#endif