Skip to content

Next iteration of Digest traits #20

Closed
@newpavlov

Description

@newpavlov

Sacundim in his feedback on the reddit proposed to use instead of VariableOutput the following traits:

  • ExtendableOutput for functions like SHAKE from SHA-3, which allow to "read" indefinitely from the result
  • VariableOutput for functions like Groestl, which have some limits on the output size and may require output size to be known at state initalization

Also @burdges proposed to move out BlockSize from the Input trait to a separate one.

Metadata

Metadata

Assignees

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