code: def get_decrpyted_path(encrypted_path, surfix=default_surfix):
      
      surfix_reversed = surfix[::-1]
  
      p = Path(encrypted_path).absolute()
      fname = p.fname
      fname_reversed = fname[::-1]
      new_fname = fname_reversed.replace(surfix_reversed, "", 1)[::-1]
      decrypted_p = p.change(new_fname=new_fname)
      return decrypted_p.abspath
docs: Find the original path of encrypted file or dir.
  
      Example:
  
      - file: ``${home}/test-encrypted.txt`` -> ``${home}/test.txt``
      - dir: ``${home}/Documents-encrypted`` -> ``${home}/Documents``