refactored b64 encoding scheme