Skip to content

Algebraic Sponge Algorithms #43

@bhgomes

Description

@bhgomes

@SupremoUGH: Strange trait. Poseidon block elements are field elements, which you can add and subtract already. Why not import a suitable trait from algebra?

@GhostOfGauss: Not sure what trait we'd use from algebra, I don't see anything with a sub function.

@bhgomes: This concept of BlockElement is a general construction for all "algebraic" duplex sponge algorithms. We don't explicitly use any of the poseidon-specific constructions here and this is the only "algebraic" concept we need. This file should eventually be factored out into something like an algebraic sponge module.

Originally posted by @SupremoUGH in #34 (comment)

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