pub fn base64_encode(data: &[u8]) -> String
Base64 encoding function for Ethereum smart contracts Encodes input bytes into a Base64 string.