Closed PaoloFPugno closed 2 years ago
ok for string => string conversion, it's a good idea
to cipher memory, there is already CIPHERMEM, still undocumented but you can take a look at https://github.com/sikorama/rasm-doc/issues/28
done with commit https://github.com/EdouardBERGE/rasm/commit/4d595e54577710a66697070ed838f0896899e8de +autotest with your source code ;)
Brilliant! Thanks a lot Edouard!!
I'd like to suggest that CHARSET could accept some alternative syntaxes:
(1) CHARSET 'string1','string2' So that, provided both strings have the same number of characters: char 1 in string 1 is replaced by char 1 in string 2 char 2 in string 1 is replaced by char 2 in string 2 ...and so on until last character
example: CHARSET "ABCDEFGHIJKLMNOPQRSTUVWXYZ","QWERTYUIOPASDFGHJKLZXCVBNM" DEFB "THE QUICK BROWN FOX" ; "ZIT JXOEA WKGVF YGB"
(2) Add the possibility of executing a bitwise XOR of the resulting character with a constant value or the ASCII result of the previous character (of course the 1st character would need a "seed" or #00 by default). This would be nice in order to have an additional level of string obfuscation, combined with the character replacement :-)