I am trying implement the McEliece crytosystem in SAGE. My question is How I will be able to choose the appropriate matrix $S$ and $P$?. I ask this because when I trying obtain the vector $\hat{m}=mS$ in $\hat{G}\hat{m} = Decoding(c)$ I get: matrix equation has no solutions, even after verify that $G$ is full rank.


closed as unclear what you're asking by user6961, Ilmari Karonen, Gilles, archie, rath Feb 1 '14 at 16:07

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    $\begingroup$ As per your own Wikipedia link: $S$ is simply any invertible binary $k \times k$ matrix, and $P$ is any $n \times n$ permutation matrix. What is it that you find unclear? $\endgroup$ – hakoja Apr 19 '13 at 21:17