Make A Small Program To Encrypt Files Using AES
Apr 11, 2009
i am trying to make a small program to encrypt files using AES, and then have the password from the AES encrypted using RSA for its use of public keys. i've got the AES part working fine and i found a good RSA tutorial here url....but after i encrypt the AES password (which is saved in a .txt file) using RSA, then i try to decrypt it again, it comes out as an empty .txt file!
View 4 Replies
ADVERTISEMENT
Aug 27, 2010
I need to make a small programm for ticketing on a parking for a small hotel.So i have 2 Printers pariking In (for delivery of the tickets) and 2 Readers PArking Out.Both Printers and REaders are working Serial.So i need to poll the serial ports of the printers and readers every second.The data is stored on a SQL database so i need to read and write in the database.Can i do this with 1 PC and 1 programm or 1 PC and 4 programms that are runnning at the same time ?
View 2 Replies
Jul 22, 2010
I want to make a program to encrypt and decrypt messages using a word cipher or random lettering(no duplicate letters) etc.
I've got 2 input boxes:
input text and keyword box
Two Buttons:
encrypt and decrypt
This is about all I have coded so far
Code:
Private Sub Encrypt_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Encrypt.Click
Dim EncryptInput As String
[Code]....
I have a few guess how to do this (not 100%) but setting up some sort of array might be one (not sure if it's the easiest)
Edit: one thing for sure I want to be able to separate the characters in the keyword into the start of an array (if the array is the best option)
I don't necessarily need code, I just need some advisement on how to approach this with commands. I don't know too many commands (only remember some fortran)
View 9 Replies
Jun 29, 2010
i want to make some simple program for encrypt / decrypting message using VB, my problem was when i want to decrypt the message, the result was incorrect,
Code:
Dim decryptor As Integer = TextBoxhasilencrypt.Text
Dim privatekey As Integer = Labelprivatekey.Text
Dim modulus As Integer = LabelModulus.Text
[code]....
the logic error on the program was when the "power of" are odd
View 2 Replies
May 11, 2012
I am attempting to make a small program for my church to power on and off the projector According to the user manual I need to send the following to it. Power On: C00[CR] | Like so: "C" -> "0" -> "0" -> "[CR]". However I am getting the following error when attempting to turn it on by the program: Conversion from string " " to type 'Byte' is not valid. [code]
View 14 Replies
Feb 28, 2011
m using Microsoft Visual Studio Basic 2010 and im fairly new to it. Im trying to make a small program for feedback and send it to my e-mail. I have seen e-mail sender tutorials on youtube but thats not really what I am looking for. Im looking for it to be automatically sent to me, not having to type in "To" so as if its hidden I guess. So Basically
View 2 Replies
Feb 1, 2010
On form 1 , i have a number of buttons that open up different websites.What i want to do is when i click a button on form 1 , i want forum 2 to show ( Form2.show() ) , Form 2 will have a list (Buttons) of internet browsers.
View 4 Replies
Oct 11, 2010
I'm trying to make a small database out of text boxes and text files, something where sql would be overkill, not to mention beyond my experience. I want to be able to write the contents of the text boxes to a file.txt (the easy part) then being able to retrieve them back out into individual text boxes. How would I pull this one off?
View 5 Replies
Jun 13, 2011
Need to design a program that can encrypt and decrypt messages stored in simple text files using a private key stored in a separate file. Software should also be able to allow the users to enter simple messages that either displays the encrypted or decrypted message. The encryption method should use a simple substitution method. It should be set out in the following format:
Example (the "@" is the separator):
@
The character The Code End of line
A @ 4gh EOL
B @ 84!9 EOL
Has to use the 256 ASCII character codes. The separator will be used to separate the character and its corresponding code.Here are the pseudocodes I have come up with:
� Read any private key file
separator = readline(file);
while not EOF(file) do
tempStr = readline(file);
[code].....
View 5 Replies
Jun 9, 2011
Im having kind of trouble looking for this info, but i created a POS program that when i install it, it install under Local SettingsApps2.0labla
So what i want to know if how can i make my system install like any other program, "Under Program Files/POSystem/" like so
View 2 Replies
Dec 26, 2011
im working on making a password saving program but my problem is that i don't know how to encrypt the files.
View 11 Replies
Jun 24, 2009
I am working on a application that stores videos, images and files. I would like to give the user the possibility to encrypt them. I am tying to use AES to encrypt them but the problem is that the decryption takes to long.I was hoping that the loading time from the hard disk of the encrypted file was far longer than the process of decryption of an image for example but i was wrong
So if i try to 1) load the image 2)decrypt it and 3)load it in a image control it takes 15 times more time that loading the original file not encrypted
View 1 Replies
Oct 16, 2009
So I can encrypt small files using Des Encryption, but whenever I try encrypting large files, The program's memory usage skyrockets! Would anybody be able to get me some code that will let me encrypt large files (It doesn't have to be Des, but I need to be able to support any length password).
View 1 Replies
Jul 8, 2011
I want to make recovery app to recover my files?
View 3 Replies
Dec 2, 2011
How can i make so .avi (and other files) defaults to my program?I have some of it ready (i can right click open with my program) but not the rest.
View 11 Replies
Mar 18, 2012
I have been working on a small program that I wish to eventually use to transfer small files over a LAN. I read the following article to get the basic concept of how to make a tcp/ip connection between computers. url... However my aim is to check the IP of the pending TCPClient before accepting it. My current code is below.[code]
View 1 Replies
Dec 26, 2011
I'm designing a program to encrypt and decrypt files using TripleDes Encryption algorithms but am having issues decrypting an image file. The file encrypts in the correct manner, but when I go to decrypt the file and open as an image I get an error message. One example is when trying to open the file in paint a message appears stating 'c:New FolderDecrypted.jpg Paint cannot read this file. This is not a valid bitmap file, or its format is not currently supported. My coding for the form is shown below:
"Imports System.Windows.Forms
Imports System.Security.Cryptography
Imports System.Security
[Code]....
View 10 Replies
Jan 23, 2012
I use this code to create dump files of my database. Now what I want, if possible, is to encrypt it so that when it is viewed in notepad or anything similar, average users cannot read it.
Call isDirectoryExist()
Call createDbBackupName()
Dim myProcess As Process = New Process
Dim strUser As String = "superadmin"
[Code] .....
Of course, if it encrypted, it has to be decrypted before querying the dump file. I have no idea what encryption I can do in vb.net and mysql
I modified my first code
Process.Start("C:/MySQL/bin/mysqldump.exe", " --host=localhost --user='" & strUser & "' --password=1234 """ & strDbName & """ -r """ & strPath & newDBName & """, --cipher /e /a '" & newDBName & "' ")
But the output file contains nothing whatsoever.
View 1 Replies
Feb 13, 2008
How do i make a program that can compress files, just like programs like winrar do? Every time i try via something as simple as text editor changing something, then changing it back, then it wont work anymore. Any suggestions on how i can make one of these kinds of compression programs?
View 9 Replies
Jun 28, 2010
I've a small home network and i want to make a program that's transforming files between two computer and make me chat with all computers.
View 1 Replies
Apr 30, 2010
I need to have my VB program look for two specific programs in the same folder it is running from. How do I do that?Here is the code for when I run my program. I need it to look for the files that are underlined. They are the tpfh20 and tphd20.
Private Sub btnRunRelap5_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles btnRunRelap5.Click
Dim pathString As String = String.Format("relap5 -i {0} -o {1} -r {2}", txtInput.Text, txtOutput.Text, txtRestart.Text)Dim stripString As String = String.Format(" -s {0}", tbStripFile.Text)
Dim guiString As String = " -n gui"
Dim waterprop As String = " -w tpfh20 -d tphd20"
If Not lblChangeStripFile.Visible Then
[Code]...
View 5 Replies
Jan 12, 2009
Lets get down to it, Basically, I'm making a kind of "Anti-Hack" for a project I'm working on.The basis of the "Anti-Hack" is the check processes for names of known Memory Editors, For example, one memory editor I am scanning for is Cheat Engine.exe, I am using this code to scan for it, then I use the result to activate a different piece of code.
If Process.GetProcessesByName("Cheat Engine").Length = 0 The
'It's OK
Else
<Removed for obvious reasons>
End If
Basically, I don't want my code to look like a library of If statements when the only thing I am changing is the process name, what I want to do, is have an encrypted .dat file with an array or list of known tools. I want to then go through the array/list and keep checking for instances of them running.I know nothing of how to encrypt/decrypt .dat files through VB. (I'm not an expert at it atm )I am open to other ways (Easier ways) of doing this, like a Class with a list of names etc.
**NOTE** I would rather it be a separate file as the program features an Auto-Update feature, so it will be easier to update the list.
**IMPORTANT**Also, I would like to know how to hide my process, so it cant simply be ended, It may sound suspicious but people will be able to just close it and start hacking T_T, Unless there is another way, I would appreciate it (Like making it so it cant be ended etc.)**IMPORTANT.
View 3 Replies
Sep 20, 2011
I'm attempting to create a little library to encrypt and decrypt Files with AES. There are loads of examples of how to do this on the internet so coding is not a problem. There are however a few questions regarding cryptography and AES in general.
#1 Does the IV need to be kept a secret like the key ?
#2 Can I just hash a string with SHA512 to make a key for AES ? or do I need to use PasswordDeriveBytes ?
#3 In the case of me using PasswordDeriveBytes Do I need to keep the salt a secret ?(or do I need to keep it at all)
#4 Can I generate the IV from the same password that the Key is derived from ?(if so How ?)
View 1 Replies
Jul 24, 2011
I am just wondering on how can i make a list of recent file opened on my program in vb.net. The recent files filenames must be in a linklabel in a form and in the menustrip.
View 5 Replies
Nov 18, 2010
I wanted to make a program in which multiple files could be saved into one and then unpacked later. I tried reading and then rewriting the exact strings but it made the files corrupt. I was able to do it with bytes but I'm not sure how I add mutiple files together.
View 3 Replies
Jun 1, 2011
Basically I download lots of TV shows and they're never named in the way I like; they're named like this "The Office.S06E22.HDTV.XviD-NoTV."So I was wondering if I had a .txt file with all the episode names I could make a program to rename all the video files in the right order so they're named like this "The Office Season 6 Episode 22 - Secretary's Day."So I want to copy and paste a list of correct episodes names into a text file. Then I want to read the text file, which I already know how to do. Then, and this is the bit I'm struggling with, I want to read the text file, one line at a time, and it renames the top video file with the top episode name and so on.
View 15 Replies
Jan 8, 2011
i am trying to make a program where it copies files to a certain external drive, but i cant figure out how to make it to where you enter your drive letter for the external drive and it copies it.
View 6 Replies
Oct 22, 2010
My program has 1,000 + .rtf files and when I publish/Install it's HUGE! 200mb +. I have other apps from other software companies that have more documents than mine, and their entire application is around 50mb. What am I missing here? How do I accomplish the same thing? Does it have to do with the Property Settings of the .rtf files called: "Build Action" and "Copy to Output Directory"? I set my "Build Action" to "Content" for all my .rtf files, and set "Copy to Output Directory" to "Copy Always".
View 4 Replies
Sep 2, 2010
I want to make a program to copy files from the directory c:/program files/common files/apple/apple application support to c:/ And hide these files
View 1 Replies
Jun 28, 2010
I'm writing a small application that downloads some files over ftp, the incoming directory is monitored by FileSystemWatcher_Created, on creation I want to extract some text from the file and call another application with the text as parameters the problem I have is the FileSystemWatcher_Created procedure is triggered before the file has finished downloading, I could download it elsewhere and move into the monitored directory but some of the files may be quite large and Im wondering if there is an efficient way of waiting until the file is ready? along the same lines what is the best way to queue the tasks as there can be many files coming it at one time, I've looked at threading but would that be suitable for such a task as there will still be a bottleneck at the application called by FileSystemWatcher_Created ?
heres an outline of what im doing:
Private Sub FileSystemWatcher1_Created(ByVal sender As Object, ByVal e As System.IO.FileSystemEventArgs) Handles FileSystemWatcher1.Created
'read text file
[code]....
View 1 Replies