LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to lock a textfile?

Hi,

I have to create a textfile, but I have to find a way to prevent people without a key or a password or whatever from seeing the information inside?
Is it possible?
Or can we shift each character from a string to a certain number (ASCII speaking). For instance a->c b->d and so on. A kind of criptographied file.

Thank you for your suggestions,

Laurent
0 Kudos
Message 1 of 8
(3,697 Views)
maybe this will meet your demand.
陈树学
QQ:276509891 .
EMAIL:CSXCS_366@126.COM
qq群:78561268 80754347 37591940
http://labview.weebly.com/
新书《LabVIEW实用工具详解》已经发售,敬请关注。
0 Kudos
Message 2 of 8
(3,684 Views)
sorry I can't open it, because i'm working the previous version, labview7.1...
could you make a screenshot or explain it?

thanks

Laurent
0 Kudos
Message 3 of 8
(3,680 Views)
Hi,

csxcs_366's example shows a simple cipher using XOR:


It's as secure as your proposal Smiley Very Happy

Message Edited by GerdW on 09-14-2007 01:38 PM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 8
(3,675 Views)
That's exactly what i was looking for...
This is supposed to be hidden for physicist, so no way they will find  how to decode it Smiley Happy

have a nice weekend!

Laurent
0 Kudos
Message 5 of 8
(3,663 Views)
Remember: Albert Einstein was a physicist, and I suspect he wouldn't have trouble with "cracking" that code. Smiley Wink
0 Kudos
Message 6 of 8
(3,641 Views)
The encoding would only be a deterrent to the most casual attempts, would actually be an attractant to a number of my friends Smiley Surprised   If it is plain text they will note the repetition of certain characters and refer to the tables that show letter frequency in a particular language. If it a file of numbers, with standard delimiters (i.e. commas or tabs) then once they determine those, and figure how the "encoding" is being done ....  "The solution of this problem is left to the industrious student". How secure do you need it to be? The reality is that simple muddle type methods are good only to disuade the lazy from looking/modifying, act as a challenge to a lot of brighter types. It was a physicist (I think) that noticed a small, penny, discrepancy in the billing of a computer account that was able to then trace back to the hacker that had hijacked the universities computers to access others on the network. Most of us wouldn't have cared about a penny or two.
 
If more than casual security is required there have been a number of threads on this forum regarding encryption, but the bottom line is most can be broken if there is enough desire (and money and computer power and knowledge).
 
good luck
 
 
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 7 of 8
(3,634 Views)
Check out Crypto-G. It includes encryption algorithms and examples on how to use it.

http://www.visecurity.com/cryptg.html
www.vartortech.com
0 Kudos
Message 8 of 8
(3,608 Views)