LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

aes256 compatibility with other programming languages

I can't seem to get AES256 encryption working with other programming languages.  Encrypt an AES256 in javascript, and attempt to decrypt it in labview.  No go so far.   And vise versa.

 

I've tried the vigods version and the Crypto library AES version and can't seem to get things working. One thing that is a bit of a question is when to use base64 encoding or not.

 

Basically, I've tried these libraries with some online AES256 converters as well such as below, and can't get LabVIEW to work with any of these, even though the strings from encode in labview, then work to decode in labview.  That is no problem from the examples and such, but so far can't figure out how to move it to another language successfully.

 

http://www.tools4noobs.com/online_tools/encrypt/

http://www.tools4noobs.com/online_tools/decrypt/

http://aesencryption.net/

 

Anyone have any examples or suggestions on making these AES256 tools in LabVIEW work with other languages for AES256 encryption?  

0 Kudos
Message 1 of 4
(2,909 Views)

Hey Mike,

 

Have you by chance looked in VI Package Manager at the AES packages? These packages may be a good resource for what you're trying to do.

Ty Prather
Technical Marketing Specialist
National Instruments
0 Kudos
Message 2 of 4
(2,872 Views)

Yes I have as I stated, I've looked at all the available AES tools for LabVIEW.  They work great in labview, with labview being the source for both encrypt and decrypt, what I can't solve, is getting what is encrypted in labview to decrypt in another language using AES on both ends.  Same thing vise versa, no go on interoperating them between languages and that is what I need as I need to read an AES encrypted file in labview, generated from C# elsewhere.  

0 Kudos
Message 3 of 4
(2,855 Views)

I'm thinking we have a mismatch in data happening here.  Can you share some code in both LabVIEW and the C# to show how you are using the functions?  Be sure to have default data saved in any controls.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 4
(2,830 Views)