# Is there is a way to calculate the public key from the private key in pqNTRUSign algorithm?

There is source code of this algorithm (https://github.com/NTRUOpenSourceProject/NTRUMLS). But this algorithm does not provide a function for generating a public key from a private key. Studying the function pq_gen_key in src/pqntrusign.c, I did not see how it can be done.

Now, with NTRU, one could compute the public key from the private key. In fact, that is pretty much how pq_gen_key works; it creates the ring elements $f$ and $g$ (which together essentially make up the private key), and then compute the public key from that. It's just that they haven't bothered exporting that specific functionality.