base64. Encoding to Base64
[3.1.
5
]
^string.base64[]
Method encodes string to Base64 representation. To decode a string from Base64 to it's original, use
^string:
base64
[encoded]
Detailed information on MD5 is available here
http://www.ietf.org/rfc/rfc2045.txt
and here
http://en.wikipedia.org/wiki/Base64
.
Example
$original[
§ 1973. There are rumours that "Green sleeves" were written by
]
<pre>
^original.base64[]
</pre>
Outputs
pyAxOTczLiBUaGVyZSBhcmUgcnVtb3VycyB0aGF0IJNHcmVlbiBzbGVldmVzlCB3ZXJlIHdyaXR0
ZW4gYnmF
Copyright © 19972010 Art. Lebedev Studio |
http://www.artlebedev.com
Last updated: 28.11.2005