File: ipcipher.hh

package info (click to toggle)
dnsdist 1.5.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,128 kB
  • sloc: cpp: 43,479; javascript: 22,558; sh: 4,340; makefile: 487; ansic: 360; pascal: 93
file content (9 lines) | stat: -rw-r--r-- 294 bytes parent folder | download | duplicates (3)
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);