You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this createHash package in my code. The problem is it works fine for the algorithms i.e. 'md5', 'rmd160' and 'ripemd160' however for the sha algorithms, I am getting the error:
Uncaught TypeError: Cannot read properties of undefined (reading 'call')
at Hash.CipherBase (index.js:7:1)
at new Hash (browser.js:9:1)
at createHash (browser.js:29:1)
at deriveChecksumBits (bip39.ts:90:1)
at entropyToMnemonic (bip39.ts:45:1)
at generateMnemonic (bip39.ts:17:1)
at Home.tsx:25:1
at IonLifeCycleContext.tsx:67:1
at Array.forEach ()
at DefaultIonLifeCycleContext.ionViewWillEnter
The text was updated successfully, but these errors were encountered:
I am using this createHash package in my code. The problem is it works fine for the algorithms i.e. 'md5', 'rmd160' and 'ripemd160' however for the sha algorithms, I am getting the error:
const hash = createHash('sha256')
.update(entropyBuffer)
.digest();
Uncaught TypeError: Cannot read properties of undefined (reading 'call')
at Hash.CipherBase (index.js:7:1)
at new Hash (browser.js:9:1)
at createHash (browser.js:29:1)
at deriveChecksumBits (bip39.ts:90:1)
at entropyToMnemonic (bip39.ts:45:1)
at generateMnemonic (bip39.ts:17:1)
at Home.tsx:25:1
at IonLifeCycleContext.tsx:67:1
at Array.forEach ()
at DefaultIonLifeCycleContext.ionViewWillEnter
The text was updated successfully, but these errors were encountered: