05-09-2012 12:55 AM
Hello,
I want to encrypte my .TDMS file and the file couldn't open anywhere other than software. Is there any way to encrypte the TDMS file?
Solved! Go to Solution.
05-09-2012 01:21 AM - edited 05-09-2012 01:23 AM
No_RegreTs,
Does this post (http://forums.ni.com/t5/LabVIEW/Encryption-of-data-when-logging-into-tdms-files/td-p/1087691 ) answer your question?
05-10-2012 03:45 AM
I didn't understand it very good but I guess its not working for me.
programmatically encode the TDMS file so noone could open it using excel or Diadem I meant.
05-10-2012 04:15 AM
No_RegreTs,
Could you describe your "tdms file encryption" requirement in detail? e.g., who (which tool) encrypt tdms file? who (which tool) decrypt the encrypted tdms file?
05-10-2012 04:18 AM
Could Blowfish (http://zone.ni.com/devzone/cda/epd/p/id/3473) help you achieve your purpose?
05-10-2012 04:36 AM
I studied this algorithm but I couldn't understand how to encode my file. Its data Encryption but I want file Encryption. Or I understood all of these algorithms wrong.
05-11-2012 04:14 AM
OpenG has a Zip utility (http://wiki.openg.org/Oglib_lvzip) with password support. Does it satisfy your requirement?
Attached is a sample VI to Zip and UnZip a file with password.
05-11-2012 05:57 PM
Do I have to buy license for that ? To use this vi's and make them executable?
05-11-2012 06:36 PM
Are you trying to encrypt it as the data's being generated (difficult without native support), or is it acceptable to encrypt the data after the TDMS file's been closed?
On Linux/Unix boxes, "openssl" via commandline is a quick/free way to encrypt/decrypt files. Pass in input file, output file, a few parameters for encryption, a password, and let it go. Could take a while on bigger files.
05-13-2012 07:40 PM
No_RegreTs,
OpenG Oglib lvzip is open source. According to http://wiki.openg.org/Oglib_lvzip-2.5, it is BSD license. Generally BSD is a commercial friend open source license.
(if it satisfies your tech requirement) You might ask your lawyer to evaluate whether your product could use it or not, from license point of view.