rem: unused base64 encoding code