Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
2026-06-19 0cfc87bd32822e5ba22d8c2b1a26fa60f63ad7fa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef CODER_HPP
#define CODER_HPP
 
#include <iostream>
#include <cstring>
#include <vector>
#include <iomanip>
#include <sstream>
 
// XXX
#define pPASSWORDSALT "passwordsalt"
#define HASH_KWD "#@b*!a^&-"
 
namespace Coder {
    std::string Encode(std::string str);
    std::string Decode(std::string str);
};
#endif // CODER_HPP