Encr_EncodeBase64 (function reference)

By February 1, 2019 February 12th, 2019 Online Help, Troi Encryptor Plug-in
Troi Encryptor Plug-in for FileMaker Pro

Encr_EncodeBase64

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.

SyntaxFunction badge

Encr_EncodeBase64 ( switches ; text )

Parameters

switchesreserved for future use, leave empty or set to "-Unused"
texttext to encode

Returned Result

Data type returned

Text

Result

The result will be formatted in base64.

Originated in

Troi Encryptor Plug-in 2.0

Compatibility

FileMaker Pro 14 to 17

Considerations

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:
http://en.wikipedia.org/wiki/Base64

Example

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:

SGVyZSBpcyBhIGJpdCBvZiBleGFtcGxlIHRleHQuIKUgRG9u1XQgZm9yZ2V0IHRv
IGhhdmUgZnVuLCBHn250aGVyIGFuZCBCv3JnISA=

Related functionFunction badge

Encr_DecodeBase64

Related topics

Troi Encryptor Plug-in online help (overview)


Online Help Page for Troi Encryptor Plug-in for 14 to 17 –> Encr_EncodeBase64 (encrp4262) 2019-0212 17:46:20