The README mentions trapdoor functions, but Diffie-Hellman doesn't use trapdoor functions. Unlike RSA, where decryption is the inverse of encryption, there are no inversions involved in Diffie-Hellman, and hence no need for a trapdoor. Instead, the modular exponentiation that underpins Diffie-Hellman's security is simply a "one-way function."
The README mentions trapdoor functions, but Diffie-Hellman doesn't use trapdoor functions. Unlike RSA, where decryption is the inverse of encryption, there are no inversions involved in Diffie-Hellman, and hence no need for a trapdoor. Instead, the modular exponentiation that underpins Diffie-Hellman's security is simply a "one-way function."