Algorithm 3: Generating Algorithm for Secret Key |
First Step. Randomly select an non-zero vector as input, and the output is the following relatively prime two ideal and , where
Second Step. Randomly select two non-zero vectors and as input, and the output is the following ideal , where
It is easy to see that are pairwise relatively prime ideals. Last Step. Suppose that pairwise relatively prime ideals are selected, then one randomly finds , , , , , and the output ideal given by
Obviously, are pairwise relatively prime ideals in . |