Improved Python version of RNCryptor (performance, python3).