]>
Commit | Line | Data |
---|---|---|
523bc77f SB |
1 | #ifndef UTIL_H_ |
2 | #define UTIL_H_ | |
3 | ||
4 | #include <string> | |
5 | #include <stdexcept> | |
6 | #include <vector> | |
7 | #include <cstdint> | |
8 | ||
d3612b1c | 9 | #include "crypto/sha256.h" |
523bc77f SB |
10 | |
11 | namespace libzerocash { | |
12 | ||
523bc77f SB |
13 | void convertBytesVectorToVector(const std::vector<unsigned char>& bytes, std::vector<bool>& v); |
14 | ||
523bc77f SB |
15 | uint64_t convertVectorToInt(const std::vector<bool>& v); |
16 | ||
523bc77f SB |
17 | } /* namespace libzerocash */ |
18 | #endif /* UTIL_H_ */ | |
19 | ||
20 |