Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 gmp 执行复杂的操作。我想用 Botan 来执行密码学功能。问题是它们都有自己的 Bigint 函数。因此,将 gmp 函数中使用的 bigint 值提供给 Botan 函数会产生问题。
有人可以帮忙吗?
用于mpz_export导出 GMP 整数和BigInt(const byte[], size_t)构造函数来导入它。
mpz_export
BigInt(const byte[], size_t)