bip39 icon indicating copy to clipboard operation
bip39 copied to clipboard

JavaScript implementation of Bitcoin BIP39: Mnemonic code for generating deterministic keys

Results 17 bip39 issues
Sort by recently updated
recently updated
newest added

Based on #172 (merge #172 first). Closes #170 Turns out this is not enought to get create-hash out of the dependency tree because pbkdf2 uses it. However, it is possible...

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...

dependencies

Using sh256 via [create-hash](https://www.npmjs.com/package/create-hash) pulls in a bunch of dependencies we don't need, like cipher-base, md5.js and ripemd160. `cipher-base` is particularly problematic for everyone switching from Webpack 4 to Webpack...

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

main.ts ```ts import { wordlists } from 'bip39'; console.log(wordlists['EN']); ``` i get multiple issues, since thisa is cjs, could this be made to work with esm

` ERROR Failed to compile with 2 errors 3:25:48 PM error in ./node_modules/bitcore-lib/node_modules/elliptic/node_modules/bn.js/lib/bn.js Syntax Error: no such file or directory, open '/Users/34r7h/a/raphiki/node_modules/bitcore-lib/node_modules/elliptic/node_modules/bn.js/lib/bn.js' @ ./node_modules/bitcore-lib/node_modules/elliptic/lib/elliptic/utils.js 4:9-25 @ ./node_modules/bitcore-lib/node_modules/elliptic/lib/elliptic.js @ ./node_modules/bitcore-lib/index.js @...

`npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less...

I called this function btw I received ``` js {“_40”:0,”_65”:0,”_55”:null,”_72”:null} generateMnemonic = async () => { try { return await bip39.generateMnemonic(256) // default to 128 } catch(e) { return false...

question / docs

It should probably additionally throw on empty string? But maybe someone has a use case there... Additionally: - [ ] enforce no duplicate whitespace - [ ] enforce non-zero length...

feature