Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/makevoid/bip38-decrypt
Command line utility to decrypt a BIP38 (encrypted) private key.
https://github.com/makevoid/bip38-decrypt
bip38 bitcoin cli encryption js nodejs private-keys
Last synced: 11 days ago
JSON representation
Command line utility to decrypt a BIP38 (encrypted) private key.
- Host: GitHub
- URL: https://github.com/makevoid/bip38-decrypt
- Owner: makevoid
- Created: 2018-03-18T18:13:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-06T23:12:02.000Z (about 2 years ago)
- Last Synced: 2024-10-13T08:10:21.120Z (about 1 month ago)
- Topics: bip38, bitcoin, cli, encryption, js, nodejs, private-keys
- Language: JavaScript
- Size: 44.9 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# bip38-decrypt
Command line utility to decrypt a BIP38 (encrypted) private key.
### Install
Get this module from npm to have the `bip38d` command installed.
npm i -g bip38-decrypt
### Usage
Create a password file containing the password for your private key.
echo "password" > .password
history -c
clearRun the bip38 command passing the encrypted private key as first argument and the password file as the second:
bip38d 6PYPrivateKey .password
### Example
This example should work successfully, it's the same used in the jest test, this private key is empty and is encrypted with the password `"password"`.
echo "password" > .password
bip38d 6PYWpYms78Q3vJPVHvsHFCF1AKtd1PayV9qSeVGV47FtyXWHRJMreWsXYL .password### Test
This will run the jest test
npm test
### Issues & contributions
Github Issues & PR!
---
enjoy!
@makevoid