Convert text to and from Base64.
Base64 turns binary or text data into a safe set of ASCII characters, commonly used to embed data in JSON, URLs, or email attachments. It is an encoding, not encryption — anyone can decode it.