🔤 Base58 Checked Length
From raw byte length, estimate the Base58-encoded string length including the 4-byte checksum, as used for Bitcoin-style addresses.
📐 計算公式與說明
總位元組數 = 載荷位元組數 + 校驗位元組數 + 版本位元組數;Base58 估算長度 = ceil(總位元組數 × 8 ÷ 5.86)(每字元約攜帶 log₂58 ≈ 5.86 bit,摺合每位元組約 1.365 個字元)。校驗:無強校驗,三項位元組數預設按 0。判據:估算為向上取整的理論長度,實際編碼因前導零等規則可能略有出入。
常用於加密貨幣地址長度估算。