@blurapps This post has already been expanded upon here
On another note,
Better Uploader has been around for a white and lets you convert your file(s) into Base64 Data before or after uploading the files to the server, along with several other features (such as multi file uploading, renaming of files before upload, etc).
Check it out here