title: Base64 Encoding for NSString
body: <p>I am trying to post the username and password to the server. I want to convert this username and password into Base64 Encoding. So this encoded string will be added for the Authorization field.</p>
  
  <p>Is there any API already available to do the Base64 encoding in iOS or we have write on our own ??</p>