Skip to content

Possible improvements forCryptographicSponge #129

@autquis

Description

@autquis

Regarding CryptographicSponge (and Absorb):

  • Currently, the sponge does not have a method for absorbing with a domain separator (or label; I am not sure what the correct term is). I think it would be better to have two methods; one absorbs without a label, and the other absorbs with a label included.

  • To absorb group elements, one has to implement Absorb for the group. It would be nicer if we have the implementation of Absorb for all groups (by probably only serializing them). Furthermore, it is only possible to squeeze bits, bytes, and field elements (slow), so, to squeeze a group element, one has to squeeze bytes and then map to a group element.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions