The new build of the Crypto Actions plugin now contains support for Rijndael (256-bit AES) encryption, compatible with the .NET Framework.
New functions: Crypto.RijndaelEncryptString() and Crypto.RijndaelDecryptString().
Example:
-- create a 256-bit secret key from a table containing 32 bytes
key = {};
for i = 1, 32 do
key[i] = i - 1;
end-- create the initialization vector from a table with 16 bytes
iv = {};
for i = 1, 16 do
iv[i] = i - 1;
endsource = "This is a test";
encoded = Crypto.RijndaelEncryptString(source, key, iv);
Debug.Print(encoded .. "\r\n");decoded = Crypto.RijndaelDecryptString(encoded, key, iv);
Debug.Print(decoded .. "\r\n");
Full documentation of the new functions are available in the help file. These new functions are available in the full version only, not in the evaluation.