Encodes a text to Base64 encoding. The result can be sent safely over internet without any characters being changed. This function formats the output so that it is better readable for email.
Encr_EncodeBase64 ( switches ; text )
|switches||reserved for future use, leave empty or set to "-Unused"|
|text||text to encode|
Data type returned
The result will be formatted in base64.
Troi Encryptor Plug-in 2.0
FileMaker Pro 15 to 19
You can decode it with: “Encr_DecodeBase64”.
base64 can be about 4/3 as big as the original.
From Wikipedia, the free encyclopedia:
…base64 is a data encoding scheme whereby binary-encoded data is converted to printable ASCII characters. It is defined as a MIME content transfer encoding for use in internet e-mail. The only characters used are the upper- and lower-case Roman alphabet characters (A-Z, a-z), the numerals (0-9), and the “+” and “/” symbols, with the “=” symbol as a special suffix code. More information on Wikipedia here.
Set Field [ result ; Encr_EncodeBase64 ( "-Unused" ; "Here is a bit of example text. • Don’t forget to have fun, Günther and Børg!" ) ]
gives this result: