browserify / browserify/crypto-browserify

when using pbkdf2Sync with rollup getting createhmac is not a function

Open
#222 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
681
Forks
209
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.