QXPDeobfuscator.h
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2/*
3 * This file is part of the libqxp project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#ifndef QXPDEOBFUSCATOR_H_INCLUDED
11#define QXPDEOBFUSCATOR_H_INCLUDED
12
13#include "libqxp_utils.h"
14
15namespace libqxp
16{
17
19{
20public:
21 uint16_t operator()(uint16_t value) const;
22 uint8_t operator()(uint8_t value) const;
23
24protected:
25 uint16_t m_seed;
26
27 explicit QXPDeobfuscator(uint16_t seed);
28};
29
30}
31
32#endif // QXPDEOBFUSCATOR_H_INCLUDED
33
34/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
QXPDeobfuscator(uint16_t seed)
Definition QXPDeobfuscator.cpp:15
uint16_t m_seed
Definition QXPDeobfuscator.h:25
uint16_t operator()(uint16_t value) const
Definition QXPDeobfuscator.cpp:20
Definition libqxp_utils.cpp:25

Generated for libqxp by doxygen 1.13.2