Comment 1 for bug 1053573

Revision history for this message
Matthias Brantner (matthias-brantner) wrote :

The en- and decryption of and to strings assumes that the string is UTF-8 encoded. If the user wants to encrypt a string in an encoding other than UTF-8, he should use the base64:encode($string, $encoding) function (which doesn't exist, yet) to get a base64 item (or the other way around for decrypt).