Search code examples
pythoniospublic-key-encryptionelliptic-curvecommoncrypto

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?


Solution

  • Finally, I made my own library for ECC/ECDSA which is now available on github