RSA加密库或类 [英] RSA encryption library or Classes

查看:172
本文介绍了RSA加密库或类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的App.It中实现RSA加密/解密,在网络上搜索以查找执行RSA加密/解密算法的任何库或类,但是找不到任何合适的链接。我知道我可以使用由苹果提供的SecKeyGeneratePair生成私有公钥对。但是,对于我来说,使用RSA算法是必要的,因为我想通过客户端 - 服务器网络实现它。因此,算法需要在各方之间共同使用。 >

请提供一些有价值的信息。



谢谢



Aditya

解决方案

不是什么 SecKeyEncrypt SecKeyDecrypt 函数做?



函数 SecKeyEncrypt 使用您从 SecKeyGeneratePair


I want to implement RSA encrytion/decryption in my App.I googled around the net to find any Library or Classes which perform the RSA encryption/decryption algorithm,but was not able to find any suitable link.I know i can use the SecKeyGeneratePair provided by Apple to generate the private public key pair.But it is a necessity for me to use the RSA algorithm as i want to implement it over client-server network.So the Algorithm needs to common amongst the parties.

Please provide some valuable info.

Thanks

Aditya

解决方案

Isn't that what SecKeyEncrypt and SecKeyDecrypt functions do?

The functions SecKeyEncrypt and SecKeyDecrypt uses the RSA keys you got from SecKeyGeneratePair.

这篇关于RSA加密库或类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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