Generative Text Secret Sharing with Topic-Controlled Shadows
Algorithm 1
The sharing phase.
Input:
Secret bitstream ; threshold; the number of secret units to be shared at one time ; perfect binary tree’s height (then CPS = = ); the topics of each shadow text ; bag of words related to ; initial words for each shadow text .
Output:
shadow texts .
(1)
Slice per bits, transform each unit into integer form to get the secret values ;
(2)
Construct the sharing matrix , which satisfies any submatrix’s determinant is odd;
(3)
for each do
(4)
Input into LM to get of ;
(5)
;
(6)
;
(7)
whiledo
(8)
if notthen
(9)
Create a vector with the first values being secret values, and the remaining values coming from ;