Skip to content
This repository was archived by the owner on May 11, 2024. It is now read-only.
This repository was archived by the owner on May 11, 2024. It is now read-only.

Feature request: allow hex/base64 input and remove reference to window object #1

@mackwil

Description

@mackwil

Hi,
I have two small feature requests:

  1. Can you allow an input parameter to specify whether the input is text, hex or base64? I want to use the HMAC function with a key that consists of random bits, therefore converting those bits to hex or base64 first is the norm before inputting into the HMAC function. Another library already allows this, jsSHA, but they do not have the Skein function. Perhaps you could imitate how they do it?

  2. Can you remove references to the window object and just allow the user to instantiate the library. This means your library will work inside a web worker and the hashing can be done without blocking the user interface. Web Workers will fail if they try to reference the window object.

Thankyou!

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