Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serde support #86

Open
afck opened this issue Jun 7, 2018 · 2 comments
Open

Serde support #86

afck opened this issue Jun 7, 2018 · 2 comments

Comments

@afck
Copy link

afck commented Jun 7, 2018

It would be convenient to have serde's Serialize and Deserialize traits implemented for the groups and fields, so they could be seamlessly used e.g. for storing keys on disk, or sending signatures over the network.

To keep the dependencies minimal, this could be behind a feature flag.

@ebfull
Copy link
Collaborator

ebfull commented Jun 8, 2018

Agreed!

@afck
Copy link
Author

afck commented Jun 9, 2018

Great, I'm happy to give it a try, and start by moving our implementation (using the compressed representation) for G1 and G2 into this crate, and add one for Fr.

Should I make serde a full dependency, or put it behind a serialization-serde feature flag?

@afck afck mentioned this issue Jun 11, 2018
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 a pull request may close this issue.

2 participants