botan v1.12.12 (2020-01-26T16:00:04Z)
Dub
Repo
RTSS
botan
constructs
tss
A split secret, using the format from draft-mcgrew-tss-03
static if
(
BOTAN_HAS_THRESHOLD_SECRET_SHARING && BOTAN_HAS_SHA1 && BOTAN_HAS_SHA2_32
)
struct
RTSS {
static
auto
split
(ubyte M, ubyte N, const(ubyte)* S, size_t S_len, ubyte[16] identifier, RandomNumberGenerator rng);
static
SecureVector
!
ubyte
reconstruct
(Vector!RTSS shares);
this
(string hex_input);
string
toString
();
ubyte
shareId
();
size_t
size
();
size_t
length
[@property getter];
bool
initialized
();
}
Constructors
this
this
(string hex_input)
Members
Functions
initialized
bool
initialized
()
shareId
ubyte
shareId
()
size
size_t
size
()
toString
string
toString
()
Properties
length
size_t
length
[@property getter]
Static functions
reconstruct
SecureVector
!
ubyte
reconstruct
(Vector!RTSS shares)
split
auto
split
(ubyte M, ubyte N, const(ubyte)* S, size_t S_len, ubyte[16] identifier, RandomNumberGenerator rng)
Meta
Source
See Implementation
botan
constructs
tss
structs
RTSS
A split secret, using the format from draft-mcgrew-tss-03