Two-Factor Bitcoin

The only way to do a two-party transaction between untrusted peers (an implementation of BIP38)

Bit2factor replaces the original bit2factor.org website which is no longer online. Bit2factor uses the same open source code as it predecessor and is available on Github.

Bit2factor allows users to perform the client side actions using the Bitcoin BIP38 standard:

  • Create 2 (two) factor Bitcoin wallets
    • Generate Intermediate code using a passphrase or password
    • Generate Bitcoin address
    • Generate Bitcoin confirmation code
    • Generate Bitcoin encrypted private key
  • View Confirmation code
    • Allows user to check that the Bitcoin address was generated using the passphrase or password
  • Decrypt an encrypted Bitcoin private key


If you encrypted your private key with Safari 6.0.x, due to a bug in the Safari 6.0.x JIT engine you may need to access the older version of bit2factor in order to properly decrypt your key.

It is recommended that you ...

  • Do not use Safari 6.0.x
  • Do run the BIP38 test suite
  • Test the decryption with different browsers before sending coins to an address.

Two-Party Escrow

To Generate Two Party Escrow please visit this link.



An intermediate code allows the other party to generate an encrypted private key based on your passphrase without them actually knowing the passphrase.

Typically the person receiving the coins is the person to generate the intermediate code.


Provide the other party the intermediate code once it has been generated.

Generate the encrypted private key using the intermediate code that you were given by the other party.

You will lose access to the coins unless the other party provides you with the passphrase to the encrypted private key.

Provide the address and confirmation code to the other party once they have been generated. Once the other party had verified the address using the confirmation code, you can send the coins to the address without fear of the other party getting access to the coins before the trade is complete.

Do not give the other party the encrypted key until you are ready to release the coins.

Use your original passphrase and the confirmation code provided by the other party to verify that the address generated was based on your passphrase.

Once verified, the other party can send coins to the address. You will not have access to the coins until the other party sends you the encrypted private key.

Decrypt an encrypted private key using a passphrase.


Encrypted Private Keys


The test suite does take some time to complete so please be patient.



To generate codes for your Bitcoin wallets or 2 (two) factor Bitcoin wallets it is advised to disconnect your computer from the internet after this site has loaded. All the code required to generate codes has been downloaded and will run locally on your computer, requests are processed locally by your computer as such may take a few seconds to complete.

This website code and its source is fully open source, view the source code of this project





Bit2factor is a free service which has been online since its predecessor bit2factor.org went offline during April 2015.

To ensure this website can remain online we have annual hosting and domain fees which are covered by our sponsor Infinitumbitcoins.com.

We encourage visitors to visit our sponsor’s website.

Official Site Sponsor :

Infinitumbitcoins.com Makers of the most beautiful physical bitcoins. Offer a collection of one and two ounce pure silver proof quality physical bitcoins.