6

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?

Community
  • 1
  • 1
SandeepAggarwal
  • 1,273
  • 3
  • 14
  • 38

2 Answers2

0

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

Bell App Lab
  • 818
  • 6
  • 14
0

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

SandeepAggarwal
  • 1,273
  • 3
  • 14
  • 38