Write, autoreview, editor, reviewer
3,129
edits
m (→Pseudo-Code) |
|||
Line 51: | Line 51: | ||
**'''Key Generation (FHE.KeyGen(<math>1^{\lambda}, 1^L</math>))''' | **'''Key Generation (FHE.KeyGen(<math>1^{\lambda}, 1^L</math>))''' | ||
# For <math>1\leq i\leq L + 1</math>, | # For <math>1\leq i\leq L + 1</math>, | ||
# Client generates homomorphic key set, <math>(pk_i,evk_i,sk_i, t_{sk_i}) = </math>HE.Keygen(<math>1^{\lambda}, 1^{L_c}</math>).</br>The public key <math>pk</math> is <math>pk_1</math> and the secret key <math>sk</math> is <math>sk_{L+1}</math>. </br>The evaluation key <math> | # Client generates homomorphic key set, <math>(pk_i,evk_i,sk_i, t_{sk_i}) = </math>HE.Keygen(<math>1^{\lambda}, 1^{L_c}</math>).</br>The public key <math>pk</math> is <math>pk_1</math> and the secret key <math>sk</math> is <math>sk_{L+1}</math>. </br>The evaluation key <math>evk_i</math> consists of <math>(pk_{i+1},</math>HE.Enc<math>_{pk_{i+1}}(sk_{i})</math>, HE.Enc<math>_{pk_{i+1}}(t_{sk_i})</math>) for <math>1\leq i\leq L</math>. | ||
**'''Encryption (FHE.Enc<math>_{pk}(m)</math>))''' | **'''Encryption (FHE.Enc<math>_{pk}(m)</math>))''' | ||
#Client chooses pad key for each message bit <math>z,x\in\{0,1\}^{\lambda}</math>. | #Client chooses pad key for each message bit <math>z,x\in\{0,1\}^{\lambda}</math>. |