Bitcoin Forum
April 28, 2024, 10:29:41 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin address with 31 characters  (Read 231 times)
Little Mouse (OP)
Legendary
*
Offline Offline

Activity: 2030
Merit: 1977


Marketing Campaign Manager |Telegram ID- @LT_Mouse


View Profile WWW
June 23, 2020, 04:16:45 AM
 #1

Usually, most addresses are formed with 34 characters but today from this post- https://bitcointalk.org/index.php?topic=5257277.msg54667420#msg54667420, I knew that there is one address with 31 characters. After that, I searched on web and got that an address can be even 26 characters.
When an address can be shorter and how is it possible to generate a shorter address?

██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
1714300181
Hero Member
*
Offline Offline

Posts: 1714300181

View Profile Personal Message (Offline)

Ignore
1714300181
Reply with quote  #2

1714300181
Report to moderator
1714300181
Hero Member
*
Offline Offline

Posts: 1714300181

View Profile Personal Message (Offline)

Ignore
1714300181
Reply with quote  #2

1714300181
Report to moderator
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714300181
Hero Member
*
Offline Offline

Posts: 1714300181

View Profile Personal Message (Offline)

Ignore
1714300181
Reply with quote  #2

1714300181
Report to moderator
1714300181
Hero Member
*
Offline Offline

Posts: 1714300181

View Profile Personal Message (Offline)

Ignore
1714300181
Reply with quote  #2

1714300181
Report to moderator
1714300181
Hero Member
*
Offline Offline

Posts: 1714300181

View Profile Personal Message (Offline)

Ignore
1714300181
Reply with quote  #2

1714300181
Report to moderator
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
June 23, 2020, 04:34:30 AM
 #2

I think it's just that the 0s at the start are compressed into nothing like you do with numbers.

It's more logical to write 5462 than 00005462 unless you're using a screen or memory system that specifically implies its usage.

It's probably possible to get a 1 character base 58 ripemd hash too which is potentially still secure (I haven't looked into anything other than sha1 and 2)....
witcher_sense
Legendary
*
Offline Offline

Activity: 2310
Merit: 4313

🔐BitcoinMessage.Tools🔑


View Profile WWW
June 23, 2020, 04:38:47 AM
Last edit: June 23, 2020, 05:45:11 AM by witcher_sense
 #3

https://bitcoin.stackexchange.com/questions/36944/what-are-the-minimum-and-maximum-lengths-of-a-mainnet-bitcoin-address

Quote
Private key and public key has a fixed size. Private keys are always 32 bytes, and public keys are always 65 bytes. However the bitcoin addresses are generated from the public key using Base58 encoding
Base58 generates a 35 characters address but as mentioned in the link and leading zero bytes are expressed as a single "1".

Code:
repeat(number_of_leading_zero_bytes_in_hash)
   {
   output_string.append(code_string[0]);
   }
Depending on the number of leading zeros, the minimum number can be different. Theoretically it even can be as small as 20 characters so you cant define the minimum length for the bitcoin addresses.

how is it possible to generate a shorter address?

I think this is not possible to predict an outcome of the function since elliptic curve cryptograpghy is one way calculation. If it would be possible to calculate a specific length address, it could be possible to find a corresponding private key, which makes the whole process useless and senseless. So, you first have to check every private key to find public key and only then a specific address.

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
nc50lc
Legendary
*
Offline Offline

Activity: 2394
Merit: 5543


Self-proclaimed Genius


View Profile
June 23, 2020, 04:48:59 AM
 #4

Basically, you need to bruteforce a Private key and Public key pair that will generate a SHA256 Hash then RIPEMD160 hash of that hash that have lots of trailing '0' at start.
And it shouldn't be a P2SH address because the data to be encoded into base58 will start with '05' instead of '0'.

Example: if you luckily get a RIPEMD160 hash like: 000000000000000536DD9030ECAC2E9D57457EBB that begins with 15 zeroes,
It will result to a valid address: 111111113qqRYCfHaQTXy58agJLihjB which is 31 characters long.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
pooya87
Legendary
*
Offline Offline

Activity: 3430
Merit: 10505



View Profile
June 23, 2020, 04:49:37 AM
 #5

I think it's just that the 0s at the start are compressed into nothing like you do with numbers.

It's more logical to write 5462 than 00005462 unless you're using a screen or memory system that specifically implies its usage.

It's probably possible to get a 1 character base 58 ripemd hash too which is potentially still secure (I haven't looked into anything other than sha1 and 2)....

hashes are not numbers, they are bytes. so there is a big difference between 5462 and 00005462 if it is hash. even if your hash result was all zeros it still is 160 bits or 20 bytes of zero and when passed to an encoder the entire 20 bytes is passed and when base58 encoding sees zeros at the start it replaces them with 1s. other encodings do similar things, for example base16 replaces it with 00, bech32 replaces it with q and so on.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
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!