Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

Allow initializing engine with midstate #34

@jonasnick

Description

@jonasnick

Right now it seems like callers can not set the state of hash engines, f.e. SHA256. Sometimes it's useful to initialize a hash engine "as if" you've already hashed some data. If you've obtained the midstate this can speed up hashing significantly in some cases.

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