Skip to content

Conversation

@ldub
Copy link

@ldub ldub commented Jul 31, 2020

Part of my work for Ocelot included researching an HIBE-like system for managing keys and permissions.

I used pairings.py's bn256 curve code to implement the Setup, KeyGen, Encrypt, and Decrypt functions from Dan Boneh's HIBE paper, available here: https://crypto.stanford.edu/~dabo/papers/shibe.pdf. These functions currently work as desired but require further effort to encode arbitrary messages as pairings on the curve.

We decided to contribute this code into your repo because you actually have a TODO item specifically for implementing IBE.

ldub added 2 commits July 30, 2020 19:30
Part of my work for Ocelot (ocelot.net) included researching an HIBE-like system for managing keys and permissions.

I used pairings.py's bn256 curve code to implement the Setup, KeyGen, Encrypt, and Decrypt functions from Dan Boneh's HIBE paper, available here: https://crypto.stanford.edu/~dabo/papers/shibe.pdf

These functions currently work as desired but require further effort to encode arbitrary messages as pairings on the curve.
@randombit
Copy link
Owner

Thank you this is great. I am pretty busy right now but I'll try to review this soon, and also think about the encoding issue.

@ldub
Copy link
Author

ldub commented Oct 4, 2020

Hey @randombit, think you'll have time sometime soon to take a look? I want to be respective of your time but also would love to learn how to do the encoding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants