Skip to content

when using pbkdf2Sync with rollup getting createhmac is not a function #222

@last-Programmer

Description

@last-Programmer

We re using pbkdf2sync in our application and we use rollup with esm bundling.

When we run our application we get error

Uncaught (in promise) TypeError: createHmac$1 is not a function
at pbkdf2 (sync.js:37:13)
at Encryption.getHash (Encryption.ts:16:13)
at Controller.ts:173:32

Thanks in advance for the help.

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