Codebase list dnsdist / debian/1.4.0_beta1-2 ipcipher.hh
debian/1.4.0_beta1-2

Tree @debian/1.4.0_beta1-2 (Download .tar.gz)

ipcipher.hh @debian/1.4.0_beta1-2raw · history · blame

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);