[C] Add working base64 encode.