首页 > 解决方案 > 如何使用 OpenSSL 生成原始根模?

问题描述

我需要为 ElGamal 密码系统生成原始根模 n,其中 n - 是大素数。如何使用 OpenSSL 生成它?

有没有像primitive_root(...)这样的特殊函数?我没有找到这样的东西。

标签: copensslcryptographyelgamal

解决方案


推荐阅读