Author

Topic: Are xpub keys ever not a length of 111? (Read 728 times)

full member
Activity: 217
Merit: 259
June 16, 2016, 04:56:26 AM
#3
Since the prefix is fixed and non-zero, they are always the same length. 
staff
Activity: 3458
Merit: 6793
Just writing some code
June 14, 2016, 11:47:58 PM
#2
They are always 78 bytes, but that does not translate to a guaranteed fixed size when in base58 encoding. I believe it is possible for an xpub to be shorter than 111 characters but it will not be longer than 112 .
sr. member
Activity: 405
Merit: 250
June 14, 2016, 11:33:29 PM
#1

I could try and pick apart the  specification but it would be time consuming. Is it possible for the address to be shortened under 111?

I'm working under the assumption they are always length 111. Is this a safe assumption?
Jump to: