Strict encoding for Base64