aboutsummaryrefslogtreecommitdiff
path: root/include/Key.hpp
blob: e9f0591f7f093576fb82dc793358f17904bdbe9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include <opendht/infohash.h>

namespace odhtdb
{
    class Key
    {
    public:
        Key(const char *key) : hashedKey(dht::InfoHash::get(key)) {}
        
        dht::InfoHash hashedKey;
    };
}