]> git.ipfire.org Git - thirdparty/pdns.git/blob - pdns/ipcipher.hh
dnsdist: Add HTTPStatusAction to return a specific HTTP response
[thirdparty/pdns.git] / pdns / ipcipher.hh
1 #pragma once
2 #include "iputils.hh"
3 #include <string>
4
5 // see https://powerdns.org/ipcipher
6
7 ComboAddress encryptCA(const ComboAddress& ca, const std::string& key);
8 ComboAddress decryptCA(const ComboAddress& ca, const std::string& key);
9 std::string makeIPCipherKey(const std::string& password);