Quantcast
Channel: MindQuake Plugins & Examples
Viewing all articles
Browse latest Browse all 92

Crypto Actions updated to 2.0.2.0

$
0
0

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;
end

source = "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.


Viewing all articles
Browse latest Browse all 92

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>