Bitcoin Forum
May 07, 2024, 12:17:29 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Address's total length is all the same?  (Read 234 times)
wsxdrfv (OP)
Jr. Member
*
Offline Offline

Activity: 405
Merit: 5


View Profile WWW
May 17, 2018, 12:33:41 PM
 #1

I counted bitcoin address length, it is 34.

Is this all the same always?

And how about other coin's case?

If same coin, address's length is always same?
1715041049
Hero Member
*
Offline Offline

Posts: 1715041049

View Profile Personal Message (Offline)

Ignore
1715041049
Reply with quote  #2

1715041049
Report to moderator
1715041049
Hero Member
*
Offline Offline

Posts: 1715041049

View Profile Personal Message (Offline)

Ignore
1715041049
Reply with quote  #2

1715041049
Report to moderator
1715041049
Hero Member
*
Offline Offline

Posts: 1715041049

View Profile Personal Message (Offline)

Ignore
1715041049
Reply with quote  #2

1715041049
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715041049
Hero Member
*
Offline Offline

Posts: 1715041049

View Profile Personal Message (Offline)

Ignore
1715041049
Reply with quote  #2

1715041049
Report to moderator
1715041049
Hero Member
*
Offline Offline

Posts: 1715041049

View Profile Personal Message (Offline)

Ignore
1715041049
Reply with quote  #2

1715041049
Report to moderator
0xuser
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
May 17, 2018, 12:44:32 PM
 #2

NOPE. It's 26-35.

See the official bitcoin wiki - Address.
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
May 17, 2018, 12:52:39 PM
 #3

I counted bitcoin address length, it is 34.

You maybe counted correct.



Is this all the same always?

No, the length from 'legacy' addresses (starting with 1.. or 3..) varys from 27 to 34 characters.
The length of new bech32 format addresses (starting with bc1..) is at ~ 42 chars.



And how about other coin's case?

This depends on the coin. Usually they are different.
Depends on what is defined within the protocol..



If same coin, address's length is always same?

See above.

Xynerise
Sr. Member
****
Offline Offline

Activity: 322
Merit: 363

39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD


View Profile
May 17, 2018, 01:22:33 PM
Last edit: May 17, 2018, 02:39:51 PM by Xynerise
Merited by Foxpup (3), achow101 (3), ABCbits (3), buwaytress (1)
 #4

I counted bitcoin address length, it is 34.

Is this all the same always?
No, they can be as short as 26 characters eg
Code:
11111111111111111111HeBAGj
to as long as 34 for P2PKH addresses (addresses that start with '1')
P2SH (testnet) addresses can have up to 35 characters IIRC.
Bech32 segwit addresses can be as low as ~14 characters long eg
Code:
BC1SW50QA3JX3S
to as long as 74 characters.
Quote
And how about other coin's case?
It depends on the encoding being used by the coin to generate addresses.

Quote
If same coin, address's length is always same?
No, they have the same RANGE but they're not always the same length.
The encoding provides the range of values that generates a valid address.

In some cases however, the address lengths are always the same because of the way addresses are derived.
For example Ethereum addresses are always 40 characters long (plus the 0x prefix to give 42 chars) because it's the last 20 bytes of the SHA3 hash of the  public key controlling the address.
xIIImaL
Legendary
*
Offline Offline

Activity: 1372
Merit: 1005


View Profile
May 17, 2018, 05:46:55 PM
 #5

As I searched on Google, I see the xynerise has given seems perfect answer bro. As I we can see the 32 to 35 characters has there in every bitcoin address but not sure about legacy address and etc mate.
If there is address shrinking option we do for websites link in future. Then we can see bitcoin transaction more anonymous mate. LOL. Wink Wink
vakie1
Newbie
*
Offline Offline

Activity: 84
Merit: 0


View Profile
May 21, 2018, 05:00:47 AM
 #6

No, they're not always the same length  Grin
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!