It encodes a string into base64 encoding format and decode a base64 string into plain text.