简体   繁体   中英

Use ecc for encryption in ios

I am trying to implement ecc technique for encryption. I went through the following posts:

  1. Shared Secret based on Elliptic curve Diffie–Hellman with CommonCrypto

  2. Elliptic Curve Crypto in iOS

which doesn't have any satisfactory solutions.

Now, I am thinking of using a python library
https://github.com/yann2192/pyelliptic

But I am not aware if this would be the better solution for using ecc for encryption as I would still need to figure out a way to use the python library in objc.

Can somebody point me in right direction?

Expanding on @puzzlepalace's comment, you might wanna try Libsodium . They even have a Swift library.

最后,我为ECC / ECDSA创建了自己的库,现在可以在github上找到它

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