简体   繁体   中英

RSA Encryption of string with known modulus and exponent in Objective C

I need to implement RSA encryption of user credentials(password mainly) entered by user in iOS app with defined Modulus and Exponent.

Could you please provide me any example code.

Thanks in advance.

I presume you'll end up using OpenSSL directly but take a look at the following reference beforehand: Certificate, Key, and Trust Services Reference

Using OpenSSL and RSA

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM