C++中是否有任何非常简单的RSA实现 [英] Are there any very simple RSA implementation in C++

查看:44
本文介绍了C++中是否有任何非常简单的RSA实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何非常简单的跨平台 C++ 库可以进行非对称加密?没有必要的效率,只是工作.我想它可能只是 .h 文件中的 3-4 个函数,可以进行任意精度数学运算,仅此而已.

Are there any very simple cross-platform C++ libs which can do assymetric encription? Not necessary efficient, just working. I imagine it could be just 3-4 functions in an .h file which do arbitrary precission math and that's it.

我认为在这里使用 OpenSSL 是一种矫枉过正.

I belive using OpenSSL here is an overkill.

推荐答案

http://cryptopp.com/ 看起来成为我所需要的.人们可能会将其分解为单个文件,并且其中包含 RSA 样本.

http://cryptopp.com/ looks to be what I need. One might tear it down to individual files, and it has RSA samples.

这篇关于C++中是否有任何非常简单的RSA实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆