fentec-project / gofe

Functional encryption library in Go
Apache License 2.0
166 stars 51 forks source link

An ABE scheme #10

Closed tilenmarc closed 5 years ago

tilenmarc commented 5 years ago

ABE schemes provide a functionality that an entity can decrypt a ciphertext if and only if he or she possesses sufficient set of attributes. This PR implements a key policy (KP) ABE scheme presented in this paper. It is based on a monotone span programs (MSP) providing a policy for the decryption. It includes the following functionalities:

As a part of the decryption process a helping function solving a matrix vector equation Ax = v is implemented using Gaussian elimination.

tilenmarc commented 5 years ago

Thanks for the review Jan. I included all the suggestions.

tilenmarc commented 5 years ago

Thanks for a careful review. Now all the points should be included if not commented.

tilenmarc commented 5 years ago

I included the suggestions and I run goimports which also improved a bit the code from the last pull request. Thanks.

janhartman commented 5 years ago

Excellent work, thank you!