title: Base64 library that works both in C and Javascript
body: <p>Is there any base 64 encode and decode library that works for BOTH, in C and Javascript, such that it has the exact same algorithm for the encode and decode functions, so it can be used for both, desktop application client (C++) and web application client (using javascript)?</p>
  
  <p>Has anyone previously written some codes for this? Well, I can also write my own if such a library is not available, but if there is an existing one, I would prefer using that to save time. </p>