07-11-2012 10:50 AM
Hi everyone, I'm very new to labview (just 3 weeks of learning) and I've done a few projects to get me used to it. One of the projects I have been working on is this encryption program. It encrypts strings of any length and taking an encryption key of any length (longer encryption key is more secure). It also includes a security level for how much you want it to be encrypted. It comes with decryption capabilities that requires a decryption key and the security level. So now you can write cryptic messages to each other on the forums . Check it out tell me what you think and what I can do to improve.
Try to decrypt this text.
"hg*faa!u(#&h$*u#%0ƒ29*}19 v/q,y&q-o C.l5o(e"n.y&g8j(r3l*a8o6t.p7s3Z)%[ fyaoouw' p gzot'ti +wiq!t"z%!$qtmoq' i#w"p(obrh#kx!u#d$þ±%ö(¶ yˆ*–h†qsžq—ÜŠÛ…ÚՌՓŽžŽ
Encryption key: test
Encryption level: figure it out
07-11-2012 11:03 AM - edited 07-11-2012 11:05 AM
It's password protected so I would not run it even if it were not missing some subVIs. Something tells me that encrypted communications somehow violates the terms of service. If I wanted to secretly communicate with people over the forums I would probably put the encrypted message as a string constant in some VI and put it on the upconvert board.
I once thought it would be funny to give away a free encryption program that automatically encrypts the contents of My Documents. After it was done it would pop up a message saying that if you are satisfied that the free encryption program works well, the commercial version also has decryption capabilities!"
I would never do that but I don't know you. This is your first post so maybe it does something horrible to my machine
07-11-2012 11:13 AM
You may be right. I remove password so you can look at it now so you know it wont kill you computer . I also added missing sub VI. Sorry
07-11-2012 05:29 PM
Ok I am satisfied that it isn't some kind of Trojan. But this is the Internet and you have to understand my paranoia
It also seems to completely garble the string into something totally unrecognizable. What encryption method is it? I am not that familiar with the standard algorithms. But just so you know, it probably isn't all that secure. The only reason I say that is because you are using the random number function in LabVIEW and I don't think it is all that random. I could be wrong. The one thing that I do know for a fact is that it is very difficult to do effective encryption.
07-11-2012 05:53 PM
07-11-2012 05:57 PM
That is the best way if the goal is secure encryption. But I get the sense that String_Theory is just learning LabVIEW and looking for a project to practice.
07-11-2012 07:29 PM
Blowfish for LabView
07-12-2012 06:11 AM
There is a native LabVIEW encryption package developed by Ton Plomp on the LAVA forums.
http://lavag.org/files/file/198-encryption/
07-12-2012 08:38 AM
07-12-2012 10:56 AM - edited 07-12-2012 10:57 AM
Thank you guys. I will clarify that this is not going to be used to encrypt anything important, but is for learning purposes only. When I stated "what can I do better" I meant it as my programming style in the block diagram rather than the method used for encryption.