Thanks, I solved my doubts.
As a suggestion, perhaps I would also opt to better specify what should be returned from the main function.
for example
['LFR', 'NFF', 'FNR'] or 'LFRNFFFNR'
obviously looking at the test_01.py file I understood... but in reality it is not very clear as the construction of the list ['LFR', 'NFF', 'FNR'] does not make much sense if you consider that you could directly construct the string 'LFRNFFFNR' which is what is really needed for decryption.