summaryrefslogtreecommitdiffstats
path: root/ipcipher.hh
blob: cbb932d8f3720593f2abb3a3e87ffc7e64eff557 (plain)
1
2
3
4
5
6
7
8
9
#pragma once
#include "iputils.hh"
#include <string>

// see https://powerdns.org/ipcipher

ComboAddress encryptCA(const ComboAddress& ca, const std::string& key);
ComboAddress decryptCA(const ComboAddress& ca, const std::string& key);
std::string makeIPCipherKey(const std::string& password);