complet code of base64 encode