Using python to complete IBC

March 02, 2013 | Posted in Asynchronous Key Generation for IBE | Ajoy Oommen

Well, after a few days of trying to modify the DKG protocol, it seems obvious that the code is well structured(I admire the authors) and editing a few sections without complete knowledge would be a disaster(the code has no documentation that I know of). Above all, due to my lack of any knowledge in complex C++, trying to decipher the code seems a waste.

Hence, for simplicity, I have decided to take another approach. After the DKG protocol completes, the python code will switch control to another module that will complete the remaining phases as discussed in previous posts.

I have started building the code. The ingredients that will be needed for the final section are :

  • Sockets, to listen for messages and send messages
  • Threads, to run these sockets on
  • C functions for the PBC encryptions
  • Ctypes to import these C libraries
PBC C C++ Python Ctypes

Related Posts

21 Apr 2015 » Uploading a file to Django

14 Sep 2014 » Migrating databases with South

16 Mar 2013 » Decryption for distributed Boneh-Franklin IBC

16 Mar 2013 » Encryption for distributed Boneh-Franklin IBC

15 Mar 2013 » Hash functions for distributed Boneh Franklin IBC

05 Mar 2013 » Importing and exporting an element in PBC

27 Feb 2013 » Modifying a DKG header

23 Feb 2013 » Analyzing messages in DKG

23 Feb 2013 » Understanding DKG

20 Feb 2013 » Pseudo code for the mathematical functions