Right now, LSL has a bunch of one-way hash functions and an llSignRSA/llVerifyRSA function. What I am not yet seeing (and would like to have in case communications need more security) are functions to encode
and
decode a string (aside things like llXORBase64 which, let's face it, is not the pinnacle of security).
Therefore I am proposing the following functions
string llRSAEncrypt(string plain_text, string hash_algorithm, string rsa_private_key);
string llRSADecrypt(string cipher, string hash_algorithm, string rsa_public_key);
Since the RSA architecture is clearly in place for the sign/verify functionality, code-wise this might hopefully not be insurmountable. I don't know if such a protocol might be too much for current LSL limitations, but it would make quite a difference in creating more secure communication if the phrases sent/received are not fixed and therefore might not be known in advance.
Thank you for your consideration.