I have wondered how many Bitcoin addresses are possible. When looking around, I stumbled upon this thread on BitcoinTalk:
There are exactly 2^160 possible addresses as long as we keep using RIPE-MD160.
2^160 is 1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976.
Then I wondered if there are less possible addresses with the Bech32-format, specified by BIP 0173.
Besides, you cannot use uppercase format of characters in your computation, and some numbers as letters, such as i/1 and o/0 characters/numbers are excluded in Bech32 format.
Should that not decrease the possible amount of Bitcoin addresses dramatically, and decrease the security of Bitcoin?
So, I would like to know how many possible Bitcoin addresses there are with Bech32 format. How could I calculate it? What will the total number (plain long number, not the squared one, I'm not good in math) of possibilities be with the restrictions of Bech32 then?