473,387 Members | 1,859 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Make an Encryption Program

Hi,

I want to make a simple encryption program.

My idea is to have an input and an output text box. When the user presses a button the program will encode what is in the input text box and output it into the output text box. I also want to encrypt it with a secret key where the user enters a letter or set of letters into a separate text box which will effect the output. This process can be reversed to decrypt.

I have a few ideas but im hoping someone can help me out.

I have an idea maybe converting the input and key text to an integer, multiplying them which give a long number as an output but im not sure if that is possible.

If anyone has any ideas how i could go about making this id really appreciate it :)

I have a limited knowledge of VB but I have forgotten alot of it

Thanks
May 12 '10 #1
4 3696
Curtis Rutland
3,256 Expert 2GB
So, what is this for? Are you needing to encrypt a value in a way that you can reverse the value as well? Or are you just needing to hash a value (like a one-way encryption)?

The .NET Framework already provides tools to do both of these. The System.Security.Cryptography namespace has many useful tools already premade for you.

Honestly, the best resource I can point you towards is google:
http://www.google.com/search?hl=en&q=vb.net+encryption

One problem you'll run into is that most of the algorithms for encrypting strings can result with some non-printable characters, so outputting them may not look the way you think it would.
May 12 '10 #2
tlhintoq
3,525 Expert 2GB
Just do a google for "msdn cryptography" for the built in crypto namespace. Don't re-invent the wheel when there tools already for it
May 13 '10 #3
mfaisalwarraich
194 100+
This is good tutorial with example and may help you:

http://www.devarticles.com/c/a/VB.Ne...al-Basic-.NET/
May 13 '10 #4
tlhintoq
3,525 Expert 2GB
There are so many good tutorials out there on this:
http://www.lmgtfy.com/?q=C%23+aes+cr...UTF-8&oe=UTF-8
May 15 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: JohnIsCrazy | last post by:
ok i'm interested in "scripting" if i'm wrong but i think is would be considered scripting i want to make a program that inside your browser will click on a certain place and i set that place and...
3
by: Abby | last post by:
I'm now using Cygwin as my compiler for C code. I use Dev-c++ as my editor. The reason why I chose Cygwin compiler instead of the compiler that came with Dev-C++ is that I believe it uses the same...
2
by: Ken Yu | last post by:
Hi, I want to make a program for receive E-mail by POP3, and forward to another E-mail Account, if the E-mail with Attachment , will delete the attachment before forward, where can i find more...
8
by: Daniel Kaseman | last post by:
Can someone help me make a program?
52
by: mavic | last post by:
hi to everybody,i need help for my project....how to make a program that accept any integer and convert it binary,octal and hexadecimal.pls help me...thanks
7
by: hankssong | last post by:
Hi everyone, I'm writing a program that can retrieve some specified info from a web page, such as python topics I interested on a bbs. Now I had written the python script (run in the background),...
0
by: Laszlo Nagy | last post by:
agus@cs.its.ac.id wrote: Can be done via the standard imaplib module. No need to use twisted. Save it as an eml file. Use the standard email.Parser module for extracting headers. I have no clue...
0
by: =?Utf-8?B?bGlnaHRkb2xs?= | last post by:
Dear EveryOne... i want to make some program like soaptool kit because of log. i used the soaptoolkit to see a soap messages, if i send lots data to IIS in my program by web service, i...
82
by: Bill David | last post by:
SUBJECT: How to make this program more efficient? In my program, a thread will check update from server periodically and generate a stl::map for other part of this program to read data from....
3
by: yottabyte | last post by:
Hey bytes, you may or may not remember but last time I was here a few months ago I got some help with making a hangman program which went well. Now I'm still doing okay in Java this year but I'm...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.