Steven D'Aprano wrote:
But XORing bytes seems perfectly reasonable. Bytes are numbers, even if we display them as ASCII characters.
Yep. Implement it for bytes, then the user can decode/encode as appropriate for the application. -- Greg _______________________________________________ Python-ideas mailing list Pythonemail@example.com https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/