-
Notifications
You must be signed in to change notification settings - Fork 2
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
Future of the Representation framework for high-level constructions #110
Comments
What would also be cool would be a more compact serialization format. Currently, it's probably hard to "fairly" measure the size of messages in a protocol because, for example, the format contains a bunch of unnecessary strings constants. It makes "x KiB sender payload" statistics useless. |
I feel like, if possible, removing all the Keeping |
Regarding the 3rd idea "Come up with even more automation for serialization." there the annotations for the member variables would still be necessary? In general, could you please explain the 3rd option in more detail. |
I don't know what this would look like. It's just a rough direction for how this could conceivably be fixed. So no. I can't explain right now. Potentially no need for annotations, if the static java type is "verbose" enough. Maybe just an annotation to denote "this should be part of serialization, this shouldn't", not "this should be deserialized with these restorers". |
@rheitjoh I feel like even if we remove Downside of removing |
I feel like the fact that implementors have to implement serialization by hand is somewhat bothersome.
While it has improved a lot over the years (and the necessary boilerplate code has been reduced a lot), Representations may still pose our most significant barrier to entry.
So one of the main use-cases for our library is fast prototyping of schemes. The end result is not production-grade secure anyway, so why force people to manually write a serialization format whose main purpose is to offer security through safe deserialization?
I want to collect ideas how to further lessen or remove the overhead represented by the Representation framework for high-level constructions (I'm more fine with Representations being a thing for mid or low level primitives).
Rough initial thoughts:
EncryptionSchemes
can possibly be involved in the current context? For this, maybe we'd have to introduce new interfacesG1,G2,GT
or something.The text was updated successfully, but these errors were encountered: