Created a wrapper static method for Base64 : encode and decode