Bitcoin Forum
April 25, 2024, 02:26:10 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: It can be possible generate working QR of a privkey from empty squared sheet?  (Read 148 times)
bitbollo (OP)
Legendary
*
Offline Offline

Activity: 3234
Merit: 3473


Nec Recisa Recedit


View Profile
September 08, 2021, 06:24:43 AM
Last edit: October 29, 2021, 08:38:27 PM by bitbollo
 #1

Quick questions.

Let's suppose I have a squared sheet.
If I start to paint some squares in black, it can be possible generate working QR of a privkey ?  Likewise what are the basis/standard procedure for this process?
https://de.wikipedia.org/wiki/QR-Code (Square in 4.1 / 4.2 / 4.3 are fixed etc etc)

 I think it's mathematically possible to get as final output a valid and randomly generated QR code that represent a privkey.

.... did you have any suggestion?

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
1714011970
Hero Member
*
Offline Offline

Posts: 1714011970

View Profile Personal Message (Offline)

Ignore
1714011970
Reply with quote  #2

1714011970
Report to moderator
1714011970
Hero Member
*
Offline Offline

Posts: 1714011970

View Profile Personal Message (Offline)

Ignore
1714011970
Reply with quote  #2

1714011970
Report to moderator
1714011970
Hero Member
*
Offline Offline

Posts: 1714011970

View Profile Personal Message (Offline)

Ignore
1714011970
Reply with quote  #2

1714011970
Report to moderator
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714011970
Hero Member
*
Offline Offline

Posts: 1714011970

View Profile Personal Message (Offline)

Ignore
1714011970
Reply with quote  #2

1714011970
Report to moderator
1714011970
Hero Member
*
Offline Offline

Posts: 1714011970

View Profile Personal Message (Offline)

Ignore
1714011970
Reply with quote  #2

1714011970
Report to moderator
1714011970
Hero Member
*
Offline Offline

Posts: 1714011970

View Profile Personal Message (Offline)

Ignore
1714011970
Reply with quote  #2

1714011970
Report to moderator
LoyceV
Legendary
*
Offline Offline

Activity: 3290
Merit: 16545


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
September 08, 2021, 07:22:31 AM
Merited by pooya87 (2), bitbollo (2), ABCbits (2), hosseinimr93 (1)
 #2

I think it's mathematically possible to get as final output a valid and randomly generated QR code that represent a privkey.
It's possible, but unlikely. QR-codes include error correction too.

Quote
.... did you have any suggestion?
If you want to create a private key by painting fields "at random", you should check Bitcoin Visual private key generator. Note that this is not secure and generally a bad idea.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
bitbollo (OP)
Legendary
*
Offline Offline

Activity: 3234
Merit: 3473


Nec Recisa Recedit


View Profile
September 08, 2021, 07:33:31 AM
 #3

AWESOME! I was searching something like this. I know it's a bad idea, despite I was already focused in some like a coin-flip option. Anyway for what I have on my mind this is the perfect starting point!

It can be possible run locally/offline Bitcoin Visual private key generator am I right?

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
Coding Enthusiast
Legendary
*
Offline Offline

Activity: 1039
Merit: 2783


Bitcoin and C♯ Enthusiast


View Profile WWW
September 08, 2021, 08:47:25 AM
Merited by LoyceV (4), o_e_l_e_o (4), ABCbits (1), hosseinimr93 (1)
 #4

Let me do a little advertisement of my newest project here if you don't mind.
The project is called HandyDandy which focuses on stuff like this. It is essentially visualization of a bit stream that you can edit by clicking a button corresponding with each bit.

It works for creating a private key or a mnemonic and has 2 forms: a grid or grouped by 8 bits for private keys or 11 bits for mnemonic (each word is 11 bits). Each button has 3 states (?, 1 and 0) to help user keep track of which button they've already clicked and where in the stream they are.


I haven't started an announcement topic yet or release the binaries because it needs some more work focusing on the UI elements and some tests. But you can compile it yourself and have some fun with it.
Everyone is also welcome to contribute.

Projects List+Suggestion box
Donate: 1Q9s or bc1q
|
|
|
FinderOuter(0.19.1)Ann-git
Denovo(0.7.0)Ann-git
Bitcoin.Net(0.26.0)Ann-git
|
|
|
BitcoinTransactionTool(0.11.0)Ann-git
WatchOnlyBitcoinWallet(3.2.1)Ann-git
SharpPusher(0.12.0)Ann-git
ABCbits
Legendary
*
Offline Offline

Activity: 2856
Merit: 7404


Crypto Swap Exchange


View Profile
September 08, 2021, 09:23:32 AM
Merited by bitbollo (2)
 #5

I think it's mathematically possible to get as final output a valid and randomly generated QR code that represent a privkey.
It's possible, but unlikely. QR-codes include error correction too.

You also need to choose which QR code standard and error correction level (there are 4 available levels) you're going to follow.

It can be possible run locally/offline Bitcoin Visual private key generator am I right?

I've tried it and it's possible to run the tool offline.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18507


View Profile
September 11, 2021, 08:39:55 AM
Merited by Coding Enthusiast (3)
 #6

-snip-
Oh, this is cool. As someone who occasionally generates seed phrases by flipping a coin, this would take all the work out of the manual conversion I've been doing to turn each 11 bits in to a word. Are you planning to implement a function to automatically calculate the checksum and the correct word final word once you've entered the last 3 or 7 bits of entropy?

My only comment would be to maybe change the background color of entered squares when compared to the ? squares, just to make it easier to keep track of where in the grid you are or if you have accidentally missed a square.
Coding Enthusiast
Legendary
*
Offline Offline

Activity: 1039
Merit: 2783


Bitcoin and C♯ Enthusiast


View Profile WWW
September 12, 2021, 10:04:15 AM
Merited by o_e_l_e_o (4)
 #7

Are you planning to implement a function to automatically calculate the checksum and the correct word final word once you've entered the last 3 or 7 bits of entropy?
Yes. I just haven't decided if I want to dynamically compute it on each click or add a "finalize" button that user has to click which computes the checksum in the end.

My only comment would be to maybe change the background color of entered squares when compared to the ? squares, just to make it easier to keep track of where in the grid you are or if you have accidentally missed a square.
Thanks for the suggestion. This is what the new buttons would look like:

I'm also thinking about adding the "math" for each value so that it can be manually verified in an easy way.
That is to show how for example 0b01011001 is equal to 89. Something like 0b01011001=1*20 + 0*21 + 0*22 + 1*23 ...

Projects List+Suggestion box
Donate: 1Q9s or bc1q
|
|
|
FinderOuter(0.19.1)Ann-git
Denovo(0.7.0)Ann-git
Bitcoin.Net(0.26.0)Ann-git
|
|
|
BitcoinTransactionTool(0.11.0)Ann-git
WatchOnlyBitcoinWallet(3.2.1)Ann-git
SharpPusher(0.12.0)Ann-git
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18507


View Profile
September 12, 2021, 11:03:52 AM
 #8

Yes. I just haven't decided if I want to dynamically compute it on each click or add a "finalize" button that user has to click which computes the checksum in the end.
I suppose the issue with computing it on each click is if your tool is being used by someone with an incomplete understanding of seed phrases and their checksums. For example, someone who selects 24 words but gets fed up half way through and just copies the first 12 words, not realising the checksum will be invalid. Or maybe someone who enters 132 bits of entropy, your tool computing the checksum and turns it in to a 13th word, and they just copy the first 12. I would have thought a "Compute checksum" button which is greyed out unless the user has entered exactly 128 bits or 256 bits of entropy would be less prone to errors.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!