Changed encode_string and decode_string to encode_base64 and decode_64.