aboutsummaryrefslogtreecommitdiff
path: root/include/Key.hpp
blob: 18971d1234f9f738883fc4e09e46e24758010ff4 (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;
    };
}