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

#include <opendht/infohash.h>

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