Does anyone have a Base64 encoding function?

cheers.