#pragma once #include #include #include // public key or secret key, or conf uid struct ToxKey { std::array data; ToxKey(void) = default; ToxKey(const std::vector& v); ToxKey(const std::uint8_t* d, std::size_t s); bool operator==(const ToxKey& other) const { return data == other.data; } bool operator!=(const ToxKey& other) const { return data != other.data; } bool operator<(const ToxKey& other) const; constexpr std::size_t size(void) const { return data.size(); } }; //std::ostream& operator<<(std::ostream& out, const SHA1Digest& v);