VS 2008 AVRdude Encrypt/decryption HEX File On The Fly In VB?

Oct 8, 2010

i am looking to decrypt my HEX code file for an ATTiny chip and programming it using the AVRDude command line interface. Problem being, i do not want the user to be able to see what the HEX file is at any given time. VB.net Cryptography crypt the HEX file before i put it onto the server and then decrypt it after the program downloads it from the server and runs it through the program without seeing the decrypted HEX file?

Obviously the HEX file can not stay encrypted while being programmed to the ATTiny chip so how can i go about it so that i can create the original HEX file to be programmed within the program without having to worry about it writing a temporary file to the hard drive and then deleting it afterwards? (Because they could close the program after it does that temp file and they would be able to navigate and open it and see the code)

View 10 Replies


ADVERTISEMENT

AVRdude Encrypt / Decryption HEX File On Fly

Oct 8, 2010

i am looking to decrypt my HEX code file for an ATTiny chip and programming it using the AVRDude command line interface. Problem being, i do not want the user to be able to see what the HEX file is at any given time.Can the VB.net Cryptography crypt the HEX file before i put it onto the server and then decrypt it after the program downloads it from the server and runs it through the program without seeing the decrypted HEX file?Obviously the HEX file can not stay encrypted while being programmed to the ATTiny chip so how can i go about it so that i can create the original HEX file to be programmed within the program without having to worry about it writing a temporary file to the hard drive and then deleting it afterwards? (Because they could close the program after it does that temp file and they would be able to navigate and open it and see the code)

View 3 Replies

AVRdude Encrypt/decryption HEX File On The Fly In VB

Oct 8, 2010

i am looking to decrypt my HEX code file for an ATTiny chip and programming it using the AVRDude command line interface. Problem being, i do not want the user to be able to see what the HEX file is at any given time.

Can the VB.net Cryptography crypt the HEX file before i put it onto the server and then decrypt it after the program downloads it from the server and runs it through the program without seeing the decrypted HEX file?

Obviously the HEX file can not stay encrypted while being programmed to the ATTiny chip so how can i go about it so that i can create the original HEX file to be programmed within the program without having to worry about it writing a temporary file to the hard drive and then deleting it afterwards? (Because they could close the program after it does that temp file and they would be able to navigate and open it and see the code)

View 1 Replies

AVRdude Encrypt/decryption HEX File On The Fly In VB?

Oct 7, 2010

i am looking to decrypt my HEX code file for an ATTiny chip and programming it using the AVRDude command line interface. Problem being, i do not want the user to be able to see what the HEX file is at any given time.

Can the VB.net Cryptography crypt the HEX file before i put it onto the server and then decrypt it after the program downloads it from the server and runs it through the program without seeing the decrypted HEX file?

Obviously the HEX file can not stay encrypted while being programmed to the ATTiny chip so how can i go about it so that i can create the original HEX file to be programmed within the program without having to worry about it writing a temporary file to the hard drive and then deleting it afterwards? (Because they could close the program after it does that temp file and they would be able to navigate and open it and see the code)

View 2 Replies

Encryption/Decryption - Code To Encrypt A File->networkstream->Decrypt The File

Feb 28, 2011

I'm having trouble writing the code to encrypt a file->networkstream->Decrypt the file.. I've tried several ways, but I keep failing....

View 1 Replies

.netCART Credit Card Decryption - IIS 7 App Pool And Decryption?

May 18, 2009

I've got a site using .netCART. It's running fine in production with Windows Server 2003 and .NET 2.0. On the new server (Windows Server 2008) everything is working except for credit card decryption in the store admin. No errors are being sent, no exceptions thrown, just the encrypted string being output to the screen instead of a decrypted credit card number.

Dim strCCEncrypt As String
strCCEncrypt = Trim(DataRow.Item("CreditCard"))
strCCEncrypt = tools.Decrypt(strCCEncrypt) 'tools is a .netCART utility

[code].....

View 3 Replies

VS 2008 - How To Encrypt An Image File

May 15, 2009

I want to load an image file in a comfortable format so that I can then break it into two halves. Can somebody please guide me how to do it? Which format would it be? String, binary etc? tell me the functions/code to use to load the image file and then save the string etc.

View 1 Replies

VS 2008 Encrypt And Decrypt File?

Jun 16, 2009

The same thing that happens when you compile a script it turns in a non-readable mode but when it's opened in the right editor it's back for editing like normal.But just so it encrypts and decrypts the textfiles just like I said before.

View 3 Replies

VS 2008 Encrypt Only First Page Of A .doc File?

May 15, 2009

How to identify and edit only the first page of a *.doc file, i.e. how do I identify one single page in a word document?

View 3 Replies

How To Encrypt Data File In Visual Studio 2008

Jan 21, 2010

Is there any built in Encryption function in Visual basic 2008 that I can use? I want to encrypt my file because it is written in XML format any as far as everyone know... XML can read by anyone that has notepad or any related software.To aim is not enough.

View 2 Replies

[2008] Encrypt Command Prompt Batch File

Feb 12, 2009

is there possible to encrypt a command batch (.bat) file so that user can't read the source code?

Or is it possible to embed it in VS 2008 so that user are invisible to the cmd file?

View 5 Replies

[2008] Encrypt A Text File In Vb 2008?

Feb 3, 2009

how I can encrypt a text file in vb 2008. Then decrypt it and display it in a textbox?

View 4 Replies

Decryption Of Encrypted File?

Dec 22, 2010

i will like to know if it will be possible to decrypt and encrypted file in vb.net or any without knowing the form of encryption..any information on how to go by it... in that if you lose the form on encryption can it be decrypted?

View 1 Replies

Encrypting And Decryption A File

Sep 20, 2011

I am actually really new to VB and C#. From numerous tutorials that i found online i was able to create a small program that will encrypt a file. However I am having a really hard time decrying it back.[code]All I am trying to do is to create a program that will decrypte these file with an upload button. Our system encrypts the files to prevent operators from changing the results, we need to trend the data. However it will take way to long to use the online tool provided with the software. A desktop tool will save us much more time. The files generated are 70mb and up.

View 15 Replies

File After Custom Decryption

Jul 29, 2009

Ok so I've made an encrypting/decrypting program and I've found a small bug with it. It will encrypt plain text files fine, except for the last character ( does anyone know how to fix this by the way? ) But when it comes to enrypting PNG Images.. well here's is the before and after files:

[Code]...

View 6 Replies

Make A Key That Will Be Used In File Encryption/decryption For An Application?

Jul 12, 2011

I am trying to make a key that will be used in file encryption/decryption for my application. However, there is no user data involved with this application (As i would usually use the user's password to generate the encryption key), so i have to turn to another method.

I am thinking that maybe it is possible to generate a completely random key the first time the program runs, then save this key inside the program so that it is inaccessible by the user. The user will not be shown this key, but the key MUST be randomly generated for each application, and it also must stay constant once it is created.

View 1 Replies

Encryption Of A Text File + Decryption For Security Program?

Feb 10, 2011

What I've decided to start working on is pretty much a personal project but something I may use in my UNI course in due time. I'm creating a security program with a set of access codes (yes I am a bit of a star trek fan) - 4 in total to be exact. I want to be able to use an Encrypted key file in form of a simple notepad created text file to update the codes at any due time. All I'm looking to do is write the access codes to the text file (say for a friend to use the program), Encrypt the file through the program and be able to also decrypt to obtain the new access codes on demand also via the same program. Once decrypted the codes can be read and verified if the user has entered each one correctly. I could hard code the access codes into the program but would rather do it the way I've thought of.

Back in the days of the old VB6 there was a simple method but for some reason that doesnt work any more. What I guess I'm looking to do is have 4 text fields where 4 digit access codes are typed into, have the program take them and encrypt each one is then written to the text file. Hoping that will make it a bit clearer what I'm trying to achieve as I think I made it sound like I want to encrypt the text file after the info has been written to it, which is of course one option so wouldn't mind know how to do that too!

View 3 Replies

VS 2008 Save File And Encrypt Or Have Unique Save Name?

Mar 19, 2009

My question is simple (the answer may not be...), What I am looking for is a way to save a file as an encrypted file (so know one can open it except in visual basic or a way to save it with a unique ending that only visual basic will recognize. I will also need to know of a way to open or load the file to.

This is going to be used in a game I am working on (and yes...I know visual basic isn't really meant for games, but it is coming together pretty well). I was originally going to have it save as a text file, but then everyone could open, read it and even change there stats. That is what this file will contain, the stats for their character, and when they load it, it will place the values into the correct spot.

I am a partial beginner or intermediate coder, I can understand code, I just don't know all there is, like saving and loading, and this is probably a little harder.

View 7 Replies

VS 2005 Possible To Be Able To Encrypt File / Have Application Be Able To Decrypt It And Amend File As Necessary

Mar 17, 2009

I would like to know if it is possible to be able to encrypt a file and have my application be able to decrypt it and ammed the file as necessary. and then when the program exits it will encrypt the file back up.

View 4 Replies

Encrypt A File With RSA In VB?

Oct 16, 2009

I'm just getting started with Visual Basic .NET and I'm currently stuck on the following problem: how can I encrypt/decrypt a file with asymmetric encryption?

Essentially, I'm trying to figure out how I can write the following pseudocode in VB

[code]...

View 1 Replies

VS 2005 File.encrypt And File.decrypt

Mar 12, 2010

Has anyone used these methods? I tried File.Encrypt on a text file, and I did not get an exception, however the Encrypt method did not work (the file was unchanged afterwards).

View 3 Replies

Encrypt / Decrypt Xml File

Jun 22, 2011

I need some help on saving/reading xml from/to dataset. I would like to make that complete file is encrypted and not only some elements inside or part of file.Currently this is not working in any way at all.[code]

View 14 Replies

Encrypt A File Then Read It?

Apr 14, 2010

So I have a connection string which is read from a basic text file. This string contains a password. Is there anyway to encrypt this text file so that anyone can't just open it up and read it. The program will still be able to read it.

View 5 Replies

Encrypt A File/folder?

Feb 20, 2010

Is it possible to encrypt a file/folder in vb.net?

View 3 Replies

Encrypt And Decrypt A File By Using VB?

Dec 23, 2011

I ended up getting this properly working, as far as encrypting a file goes:How to encrypt and decrypt a file by using Visual Basic .NET or Visual Basic 2005 However, the catch is I have to change the name of the output file. What I was hoping to do is overwrite the original with the encrypted file, but when I tried that on a large file, it ended up only getting about 8 bytes of it.

Does anybody have any suggestions or recommendations? The overall idea is that I want to keep a file encrypted until it needs to be unencrypted for use by a program, but I'm not sure if there are better tools out there or if there's a better way of accomplishing this.

Question 2: I would really, really like to encrypt an entire folder, which I'm guessing would be faster than file by file, but when I try I keep getting access denied errors, even with DOS Cipher. Is there a way to do this with a key?

View 2 Replies

Encrypt Data And Put It On A Txt File?

Apr 23, 2009

I made a program that encrypts data and puts it on a txt file. There are two parts of information that need to be "linked" to the other. Say its Person 1, then Person 1 gender, they need to be placed together. Each encrypted piece of seperated by a ";". I have it read the file and place the information on a Rich Text Box. How can I read all the encrypted info and stop at ";" then place that into a variable then read the next bit? I did this a while back but I used StreamReader/StreamWrite and can't remember how I did it. Right now it reads through the open file dialog and writes it to the Text Box with this command writetext.LoadFile(sFilePath, RichTextBoxStreamType.PlainText)

View 4 Replies

Encrypt Or Set A Password For AVI File?

Jan 6, 2010

How to encrypt or set a password for my AVI file with visual studio 2008?

View 1 Replies

Encrypt Pdf File String?

Feb 4, 2011

I have a page that has a few text boxes on it and are filled based upon a persons information. Like Name, telephone number, address etc

The data is stored in an Access DB.

I want to add a check box and have a label beside it that if it's checked it shows a hyperlink to a pdf file, if its not checked the link disappears, so toggle between the two.

Here's the check box I have so far, which isn't much:

<br><input type=checkbox name="Password" value="<%=oRs("Password")%>" size=40> Check to show PDF File: <a href="<%=oRs("Password")%>"><%=oRs("Password")%></a><br><br>

I need this hyperlink/ string to be encrypted based upon the persons name, so each person has its own pdf file and no one can just guess anothers pdf file and have access to it....

The pdf file will be stored in a virtual directory within the site.

I don't know Vb or asp, and I'm doing this all in notepad ++

View 1 Replies

Encrypt Vbs File Using Some Algorithm?

Oct 17, 2011

I need to encrypt vbs file using a cryptographic algorithm. I read about converting it into vbe file, but is there any other way to do it?

View 1 Replies

How To Encrypt File In ListView (RC4)

Jul 14, 2010

I have the files in a listview control, with checkboxes. I would like it to encrypt all files ending with .rc4, that are listed in the listview. But keep the original of file extension
E.g : file.txt --> file_txt.rc4
How can I get it to encrypt multiple items. I already tried and still can't write in...

Here my code
Private Sub BtnEncrypt_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnEncrypt.Click
Dim ByteConverter As Encoding = Encoding.UTF8
Dim Key As Byte() = ByteConverter.GetBytes(TextBox2.Text)
If ListView1.Items.Count <> 0 Then
[Code] .....

View 7 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved