Legacy(P2PKH,P2SH.....)=>34 characters
It may worth mentioning that legacy addresses are usually 34 characters long, but it's not that they always contain 34 characters and it's possible to have a legacy address with less characters.
But if you use an Electrum wallet, you can guarantee the security of your wallet.
It's not that you secure your fund just with using electrum. Any online device is always prone to hacking.