Guessing decrypt plain and base64 functions
Specify encoding type (plain/base64) for decryption manually. Fixes problems in some cases like long shared folder names
Minor type corrected