LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Panel State File Encryption

Using the SavePanelState() function generates a file that exposes too much information, with even simple tools such as notepad.  How can this file be best program inline encrypted?

0 Kudos
Message 1 of 4
(3,414 Views)

The only way that comes to mind is that you can save the state in a temporary file, and then encrypt it into a final file.
Someone could obviously intercept the file before its cancellation.


Carlo A.
Megaris




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

You can encryip the content of you panel controlls before saving and save the panel with the encrypted data. It works with text and numbers, I am not sure if it works with graphs. Alas, there is no encryption library for CVI. I miss that very much. Maybe if we demand it, the next version will include some simple crypto libtary ir device driver/wrapper for windows encryption programming interface. The one awailable is too complicated, and one has to spend many many hourse to be able to use it. Even than I am not sure I am doing it right. 

I really want a VERY simple library: create a context, manage passwords and logins and encrypt/decrypt a block of memory preferably into encrypted string data type that can be easily manipulated, saved, sent or loaded read. But a binary firmat would work well too. 

0 Kudos
Message 3 of 4
(3,372 Views)

A good way to make sure that the developers for CVI see this idea would be to post it in the LabWindows/CVI idea exchange:

https://forums.ni.com/t5/LabWindows-CVI-Idea-Exchange/idb-p/cviideas

Maggie M.
Application Engineer
National Instruments.
http://www.ni.com/support
0 Kudos
Message 4 of 4
(3,360 Views)