Skip to content

Ability to construct hmac::Algorithm #1216

Closed
@littledivy

Description

@littledivy

Hi 👋
I'm working on Deno's WebCrypto implementation. Webcrypto allows modifying length of the key, which is not possible since hmac::Algorithm digest field is private.

pub struct Algorithm(&'static digest::Algorithm);

Would you be interested in making this public? or are there other ways to do this? 🙂 Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions