RTSS.split

struct RTSS
static
split
(
ubyte M
,
ubyte N
,
const(ubyte)* S
,
size_t S_len
,
in ubyte[16] identifier
,)

Parameters

M ubyte

the number of shares needed to reconstruct

N ubyte

the number of shares generated

S const(ubyte)*

the secret to split

S_len size_t

the length of the secret

identifier ubyte[16]

the 16 ubyte share identifier

rng RandomNumberGenerator

the random number generator to use

Meta