Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
2 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
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