RNCryptor-python icon indicating copy to clipboard operation
RNCryptor-python copied to clipboard

Python 3 compatibility: fix byte index access

Open alinradut opened this issue 11 months ago • 0 comments

The current code only works correctly under Python 2.

Apparently in Python 3 it's not possible to use data[1] to access a byte, instead we have to use data[1:2].

This pull request fixes this compatibility issue and it should still work correctly on both versions.

alinradut avatar Feb 09 '25 14:02 alinradut