consento-org / crypto

Crypto primitives for the consento workflow
MIT License
5 stars 1 forks source link

Vocabulary #7

Closed martinheidegger closed 3 years ago

martinheidegger commented 3 years ago

Trying to integrate consento-crypto with hypercores I noticed that the naming didn't seem to be right, particularly when talking about the encryption properties. To see how it would feel differently I tried in this PR to replace Receiver with Reader and Sender with Writer to give a sense on what they enable to do under the aspect that the interaction is based on the channel. Looking at the documentation it does seem much clearer now what one can do with this API.

Readme.md

Do you think these changes are an improvement in the readability?

Note: this PR is based on #6 and #3 respectively, those should be merged before this one.

RangerMauve commented 3 years ago

I think this looks good to merge