<p>A good article on keypair generation
<a href="http://www.swansontec.com/bitcoin-dice.html" rel="nofollow">http://www.swansontec.com/bitcoin-dice.html</a></p>

<p>Essentially, you can generate your private key using dice, and use a computer to derive an address from that private key.</p>

CC BY-SA 3.0
2015-11-09T23:44:45.653Z
2015-11-10T18:48:14.910Z
2015-11-10T18:48:14.910Z
Mikhail Baynov
<p>This working computer example complements @ThePiachu. </p>

<p>Let's assume your random number generator mechanism generated this very low entropy 256-bit number in hexadecimal format that will become the private key:</p>

<p>0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff</p>

<p><strong>1. Associated compressed Bitcoin WIF-encoded private key:</strong></p>

<p>% echo "0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff" | sed 's/$/01/' | bx base58check-encode -v 128</p>

<p><strong><code>KwDiDMtpksBAcfyHsVS5XzmirtyjKWSeaeM9U1QppugixMUeKMqp</code></strong></p>

<p><strong>2. Associated compressed Bitcoin public address:</strong></p>

<p>% echo "0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff" | bx ec-to-public | bx ec-to-address -v 0</p>

<p><strong><code>1PbStXjfDNBU6FZA2iSeisVWwCFN9GK1eQ</code></strong></p>

CC BY-SA 3.0
2017-12-27T04:09:23.493Z
2017-12-27T04:09:23.493Z
skaht
<p>Here are instructions to create a Bitcoin address and associated key-pair completely offline. It is straight from the Bitcoin Wiki.</p>

<p><a href="https://en.bitcoin.it/wiki/How_to_set_up_a_secure_offline_savings_wallet" rel="nofollow noreferrer">https://en.bitcoin.it/wiki/How_to_set_up_a_secure_offline_savings_wallet</a></p>

CC BY-SA 3.0
2017-12-27T01:46:08.610Z
2017-12-27T01:46:08.610Z
Ajoy Bhatia
<p>Yes, it is possible to create such keypairs offline, but the calculations are long and complex. You would need to find out how to:</p>

<p>1) Create a secp256k1 public key from a private key</p>

<p>2) Perform SHA-256 hashing</p>

<p>3) Perform RIPEMD-160 hashing</p>

<p>4) Be able to convert the final value into Base 58</p>

<p>Generally, the calculations would be very tedious; this is what we have computers for.</p>

CC BY-SA 3.0
2013-02-07T15:31:25.110Z
Yeah, no one should be doing this by hand...
placeybordeaux
CC BY-SA 3.0
2013-02-07T16:05:29.957Z
Also, if you made any mistakes, you'd be sending your coins into the void.
Nick ODell
CC BY-SA 3.0
2013-02-07T12:49:25.530Z
2013-02-07T15:20:23.727Z
2013-02-07T15:20:23.727Z
ThePiachu
<p>Is it possible to generate address and private key pair completely offline, using only dice / other random number generators, calculators, paper and pen? If yes, whats the procedure and formulas used?</p>

CC BY-SA 3.0
2013-02-07T16:27:38.300Z
Is there a reason for asking this question?
o0'.
CC BY-SA 3.0
2013-02-07T16:56:20.780Z
Just to be extra careful.. may be its more of a trouble than what its worth. I will choose an offline desktop. :)
vi.su.
CC BY-SA 3.0
2013-02-07T18:21:51.413Z
Like this one? http://www.furniturebydovetail.com/wp-content/uploads/2012/08/desk-organizing.jpg
o0'.
CC BY-SA 3.0
2013-02-08T04:51:16.050Z
No, that's just a desk.. :)
vi.su.
CC BY-SA 3.0
2017-12-13T23:07:45.430Z
Actually, that's a wise question to ask, even offline hardwares may have a pre-defined pattern for generating random numbers. So no complete privacy is guaranteed by using hardware systems.
Orhun Alp Oral
<address><private-key>
How to generate keypair completely offline?
vi.su.
# How to generate keypair completely offline?

(Asked by: username_0 on 2013-02-07)

Is it possible to generate address and private key pair completely offline, using only dice / other random number generators, calculators, paper and pen? If yes, whats the procedure and formulas used?

**Tags:** address, private-key

> **Comments:**
> **username_1**: Is there a reason for asking this question?  
> **username_0**: Just to be extra careful.. may be its more of a trouble than what its worth. I will choose an offline desktop. :)  
> **username_1**: Like this one? http://www.furniturebydovetail.com/wp-content/uploads/2012/08/desk-organizing.jpg  
> **username_0**: No, that's just a desk.. :)  
> **username_2**: Actually, that's a wise question to ask, even offline hardwares may have a pre-defined pattern for generating random numbers. So no complete privacy is guaranteed by using hardware systems.  

---

## 4 answers

### Answer by username_6 on 2013-02-07. Score: 7 | Accepted answer

Yes, it is possible to create such keypairs offline, but the calculations are long and complex. You would need to find out how to:

1) Create a secp256k1 public key from a private key

2) Perform SHA-256 hashing

3) Perform RIPEMD-160 hashing

4) Be able to convert the final value into Base 58

Generally, the calculations would be very tedious; this is what we have computers for.

> **Comments:**
> **username_7**: Yeah, no one should be doing this by hand...  
> **username_8**: Also, if you made any mistakes, you'd be sending your coins into the void.  

---

### Answer by username_3 on 2015-11-09. Score: 3

A good article on keypair generation
<http://www.swansontec.com/bitcoin-dice.html>

Essentially, you can generate your private key using dice, and use a computer to derive an address from that private key.


---

### Answer by username_4 on 2017-12-27. Score: 0

This working computer example complements @username_6.

Let's assume your random number generator mechanism generated this very low entropy 256-bit number in hexadecimal format that will become the private key:

0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff

**1. Associated compressed Bitcoin WIF-encoded private key:**

% echo "0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff" | sed 's/$/01/' | bx base58check-encode -v 128

**`KwDiDMtpksBAcfyHsVS5XzmirtyjKWSeaeM9U1QppugixMUeKMqp`**

**2. Associated compressed Bitcoin public address:**

% echo "0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff" | bx ec-to-public | bx ec-to-address -v 0

**`1PbStXjfDNBU6FZA2iSeisVWwCFN9GK1eQ`**


---

### Answer by username_5 on 2017-12-27. Score: 0

Here are instructions to create a Bitcoin address and associated key-pair completely offline. It is straight from the Bitcoin Wiki.

<https://en.bitcoin.it/wiki/How_to_set_up_a_secure_offline_savings_wallet>


---

