From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-10-2014 08:26 AM
I have a program where I need to do a TripleDES encrytion on a message, and .NET has a construct supported since v2.0.0.0 (mscorlib.dll), but I have been unable to get it configured and working. Looking for some assistance, so I don't have to create the DES encrytion algorithm dicretely.
Thanks.
04-11-2014 06:49 PM - edited 04-11-2014 06:53 PM
Could you please any errors or roadblocks you're running into? These might help us get a better idea of exactly what's going on.
Thanks,
04-14-2014 09:25 AM
There are actually a number of issues I am having, if you go into .NET constructor node for the TripleDESCryptoService Provider (mscorlib.dll v2.0.0.0.0) and invoke the CreateEncryptor method, it asks for an initialization vector (IV) which i have no idea of what exactly it is looking for. MSDN is fairly worthless for this, so i was just hoping someone might have an example available.
04-14-2014 10:51 AM
@ATE_Dude_22 wrote:
There are actually a number of issues I am having, if you go into .NET constructor node for the TripleDESCryptoService Provider (mscorlib.dll v2.0.0.0.0) and invoke the CreateEncryptor method, it asks for an initialization vector (IV) which i have no idea of what exactly it is looking for. MSDN is fairly worthless for this, so i was just hoping someone might have an example available.
Here is an example in VB.NET
It looks like if you don't provide the initialization vector, it generates one for you.
04-14-2014 11:03 AM
Exactly my point, this method throws an exception error if the IV input is either wired with an empty array, or if left unwired it throw an error stating all inputs need wiring??
04-14-2014 11:07 AM
@ATE_Dude_22 wrote:
Exactly my point, this method throws an exception error if the IV input is either wired with an empty array, or if left unwired it throw an error stating all inputs need wiring??
The example is creating a new TripleDESCytpoServiceProvider object. That is how you should model your LabVIEW code.
04-14-2014 11:15 AM
Thanks, I'll see what I can do with this.