I need to encrypt some text in my program developed using Lazarus/Freepascal, but I should be able to load them as text and decrypt them, rather than in binary because I need to save them in a TStrings type property.
Which algorithm(s) are suited to that?
Afaik the much used Delphi dcpcrypt2 package works fine on FPC/Lazarus.
http://www.cityinthesky.co.uk/cryptography.html
I usually use Rijndael.
Freepascal has an own unit for mime encoding that works fine, also in Delphi