I want to encrypt a text file in Delphi & decrypt it, line by line, in C on an embedded system which does not have much RAM (so, only one line in RAM at a time).
FOSS must be available for both Delphi & C; nothign too huge, preferably a single file for each. No messing about wth key files, the kay & salt will be hard coded into the applciatioon.
I am seeking "just good enough" "security through obscurity". Enough to deter a causual hacker. The actual embedded device will be behind a physical lock & key.
[Verdict] I will go with either TEA or AES (tbd). I will split the functionality into two parts: 1) decrypt into a plain text file, 2) parse that as an INI file and if I hit memory problems then change to a
line_1=data_1, line_2=data_2 format.
Thanks for your help.