32 static std::vector<RTSS_Share> split(uint8_t M,
34 const uint8_t secret[],
36 const uint8_t identifier[16],
48 static std::vector<RTSS_Share> split(uint8_t M,
50 const uint8_t secret[],
52 const std::vector<uint8_t>& identifier,
53 std::string_view hash_fn,
66 explicit RTSS_Share(std::string_view hex_input);
82 std::string to_string()
const;
87 uint8_t share_id()
const;
92 size_t size()
const {
return m_contents.size(); }