changed base68encode method