... not saved to an INI file. So the problem is NOT that encrypt()/decrypt() doesn't work, but rather that encrypted text cannot reliably be saved and retrieved from an INI file. I don't know if encrypted text could be saved to other media such as a DBF, but I suspect that the same problem would exist. ...