Repository
- Source code
- https://github.com/gonglian8-stack/bip39-ai
- License
- MIT
- Version
- 0.1.0 · commit 211d6ed
- Maintainer
- gonglian8-stack
Runtime dependencies
The code that runs in your browser depends on the following packages, with exact pinned versions:
| Package | Version | Used for |
|---|---|---|
| @noble/hashes | 2.4.0 | SHA-256, SHA-512 and PBKDF2. Audited by Cure53 in January 2022 (an earlier version). |
| @scure/bip39 | 2.4.0 | Mnemonic encoding/decoding and seed derivation. An earlier version (1.0.0) was audited by Cure53 in January 2022; this version includes later changes not covered by that audit. |
| astro | 7.3.4 | Static site generation (build-time only; no Astro runtime ships to tool pages) |
Data sources
- English word list: bitcoin/bips english.txt, SHA-256 checked on every build.
- Test vectors: trezor/python-mnemonic vectors.json, SHA-256 checked on every build.
Tests
- All 24 official English test vectors: entropy → mnemonic, mnemonic → entropy, mnemonic + “TREZOR” → seed, and the step-by-step checksum.
- 120 random cases across all five lengths and six passphrases (including non-ASCII) generated with the independent
python-mnemonic0.21 library. - 40 invalid-checksum phrases that must be rejected.
- Word list: identical to upstream and to the copy bundled in @scure/bip39.