Coder Social home page Coder Social logo

ceca69ec / encrypt38 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 54 KB

Command line tool to encrypt and decrypt bitcoin private keys with bip-0038 standard

Home Page: https://docs.rs/encrypt38

License: Apache License 2.0

Rust 100.00%
rust bitcoin bitcoin-address bip-0038 command-line encryption-decryption cryptocurrencies

encrypt38's Introduction

encrypt38

Command line tool to encrypt and decrypt bitcoin private keys with bip-0038 standard.

Basic usage

$ encrypt38 -p Satoshi KwYgW8gcxj1JWJXhPSu4Fqwzfhp5Yfi42mdYmMa4XqK7NJxXUSK7
6PYLtMnXvfG3oJde97zRyLYFZCYizPU5T3LwgdYJz1fRhh16bU7u6PPmY7
$ encrypt38 -p Satoshi 6PYLtMnXvfG3oJde97zRyLYFZCYizPU5T3LwgdYJz1fRhh16bU7u6PPmY7
09c2686880095b1a4c249ee3ac4eea8a014f11e6f986d0b5025ac1f39afbd9ae
KwYgW8gcxj1JWJXhPSu4Fqwzfhp5Yfi42mdYmMa4XqK7NJxXUSK7

Disclaimer

  • Don't trust, verify

    Compare the results of this tool with others. Verify the implementation (and the tests). Decrypt immediately after an encryption to check the passphrase you typed was the one you wanted. Use at your won risk.

  • Not recommended

    Use this tool only to decrypt keys you already have. The method of keeping private keys encrypted with bip-0038 standard is not recommended anymore (use mnemonic instead).

Features

  • Address

    This tool show the respective address of a decrypted private key in the legacy, segwit-nested and segwit-native formats according to the version prefix of the encrypted private key.

  • Custom separator

    Customization of the default separator of information when decrypting.

  • Decryption

    Insert an encrypted private key 6P... and passphrase do show the private key represented in hexadecimal and the respective address, public key and wif keys.

  • Encryption

    Insert a private key in the form of hexadecimal numbers or wif key and passphrase to show the encrypted private key.

  • Generation (elliptic curve multiplication method)

    Insert a passphrase to create an encrypted private key using pseudo-random number generation and elliptic curve multiplication.

  • Uncompressed address

    This tool is capable of resulting in uncompressed address (mainly for decryption and retro compatibility, not recommended).

Help

encrypt38 1.1.6
Insert encrypted, hexadecimal or wif private key and passphrase to decrypt or
encrypt accordingly. Insert only passphrase to create an encrypted private key
using elliptic curve multiplication (and pseudo-random number generation).

USAGE:
    encrypt38 [FLAGS] [OPTIONS] -p <passphrase> [PRIVATE_KEY]

FLAGS:
    -h, --help            Prints help information
    -u, --uncompressed    Encrypted private key to generate uncompressed address
    -V, --version         Prints version information
    -v, --verbose         Show possible address and public key when decrypting

OPTIONS:
    -p <passphrase>        Used to encrypt and decrypt the private key (required)
    -s <separator>         Specify character (or string) to separate verbose result

ARGS:
    <PRIVATE_KEY>    Hexadecimal, wif or encrypted private key

Installation

You have to install rust and a linker if you don't already have them.

$ cargo install encrypt38

encrypt38's People

Contributors

ceca69ec avatar

Watchers

 avatar

Forkers

j-loaded

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.