2
$\begingroup$

I'm currently trying to implement a solution for Vehicular ad hoc networks based on cryptography. I've chosen to use python to implement the solution, but I don't know which libraries I have to use to implement the cryptographic functions (methods and modules). I've searched about it, but I didn't find good ones: most of the libraries I've found were about implementing Cipher algorithms and hash functions. I need libraries for Elliptic curve cryptography and Bilinear pairing. Please, suggest to me good libraries that have good methods.

PS: I'm using Python3.8 and Ubuntu OS, and these are the solutions that I'm working on https://www.cs.nmsu.edu/~misra/papers/T-ITS-2011.pdf and https://www.mdpi.com/2073-8994/12/10/1687/htm

$\endgroup$
3
  • $\begingroup$ Have you looked at github.com/ethereum/py_ecc ? It has an implementation of BN curve, which is a pairing friendly curve. $\endgroup$
    – vxek
    Commented Dec 13, 2020 at 17:38
  • $\begingroup$ Thank u i will check it out $\endgroup$
    – Chai Ma
    Commented Dec 14, 2020 at 10:44
  • $\begingroup$ Caveat: The paper in the question's second link is remarkable in that it fails to determine the order of the elliptic curve it uses, doesn't state the signature system it applies, and cites 36 references on the same subject, many similarly defective or vacuous. I asked why on Academia-se. $\endgroup$
    – fgrieu
    Commented May 30, 2022 at 10:35

1 Answer 1

2
$\begingroup$

You can use pbc library (The Pairing-Based Cryptography Library).

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.