Converting text to Base64 encoding

Converting text to Base64 encoding

  

Is there any plugin to convert text to Base64 encoding.

Hi,


check out BinaryData module/xif


Solution

In addition to J's answer, the BinaryData Module contains a BinaryToBase64, which, as the name implies, converts Binary Data to Base64. To convert Text to Base64, you therefore need to first convert the Text to Binary Data, which can be done via TextToBinaryData from the same Module. So you'll get something like:

BinaryToBase64(TextToBinaryData(MyText))
Solution