Showing results 1 to 19 of 19
Search took 0.00 seconds.
Search: Posts Made By: nsa0513
Forum: .NET General 11-24-2011, 09:14 PM
Replies: 35
Views: 1,938
Posted By nsa0513
Option Strict has been on the entire time. Thank...

Option Strict has been on the entire time. Thank you for all the help. I'll make some changes to the math if possible, but otherwise I'm just going to stick with what I have.
Forum: .NET General 11-24-2011, 08:19 AM
Replies: 35
Views: 1,938
Posted By nsa0513
Here is the encryption program.

Here is the encryption program.
Forum: .NET General 11-23-2011, 06:55 PM
Replies: 35
Views: 1,938
Posted By nsa0513
I figured out the root of that problem, the...

I figured out the root of that problem, the encryption/decryption needed to use bigger numbers, the problem now is that it seems that the numbers are too big for VB to compute because when debugging,...
Forum: .NET General 11-23-2011, 04:14 PM
Replies: 35
Views: 1,938
Posted By nsa0513
It is not decrypting correctly and producing...

It is not decrypting correctly and producing fewer characters. I feel like it is a problem with the splitting. EX. word =    14 12 9 1 = <paragraph symbol> and two other symbols that I don't...
Forum: .NET General 11-23-2011, 02:03 PM
Replies: 35
Views: 1,938
Posted By nsa0513
For the 2nd "chars" in the code ("For Each word...

For the 2nd "chars" in the code ("For Each word In chars") it says it is undeclared
Forum: .NET General 11-23-2011, 09:46 AM
Replies: 35
Views: 1,938
Posted By nsa0513
I can't test it right now, on this computer. I...

I can't test it right now, on this computer. I was just checking to see if there were any obvious errors in the code.
Forum: .NET General 11-23-2011, 07:49 AM
Replies: 35
Views: 1,938
Posted By nsa0513
Sorry I made mistake with that code (ToChar v...

Sorry I made mistake with that code (ToChar v ToByte) because they will still be numbers to begin with. (Taking encrypted ASCII number, decrypting, and converting back to character)

Dim c As...
Forum: .NET General 11-23-2011, 07:12 AM
Replies: 35
Views: 1,938
Posted By nsa0513
Does this seem correct? Dim c As...

Does this seem correct?

Dim c As String = msginp.text

Dim chars As String() = c.Split(New Char() = {" "c})

Dim word As String
For Each word In chars
m = word ^ d mod n
...
Forum: .NET General 11-22-2011, 05:09 PM
Replies: 35
Views: 1,938
Posted By nsa0513
That's all very over my head, as was most of this...

That's all very over my head, as was most of this program. Could you please give me some examples at least?
Forum: .NET General 11-22-2011, 03:17 PM
Replies: 35
Views: 1,938
Posted By nsa0513
Ah okay thank you. Could you possibly help me...

Ah okay thank you. Could you possibly help me with the code for that?
Forum: .NET General 11-22-2011, 01:35 PM
Replies: 35
Views: 1,938
Posted By nsa0513
Thank you, I found the append command. But do you...

Thank you, I found the append command. But do you know how I can perform the decryption as stated above?

Dim bytes(m.Length - 1) As Byte

For i As Integer = 0 To m.Length - 1
...
Forum: .NET General 11-22-2011, 01:00 PM
Replies: 35
Views: 1,938
Posted By nsa0513
I understand what formulas I need to use, it is...

I understand what formulas I need to use, it is the coding that is giving me the problems.
Here are the last thing I need to get done and am having trouble with:

Encryption:
I need the program...
Forum: .NET General 11-21-2011, 04:15 PM
Replies: 35
Views: 1,938
Posted By nsa0513
Thank you very much. One last thing I am having...

Thank you very much. One last thing I am having trouble with is I need to be able to decrypt the message, and I'm not sure how to perform backwards. To convert the ascii back into plaintext.

...
Forum: .NET General 11-16-2011, 05:52 PM
Replies: 35
Views: 1,938
Posted By nsa0513
So hopefully this would work: Dim message as...

So hopefully this would work:

Dim message as String
message = userinput.text


But how would I make it so it encrypts each of those numbers (the ASCII for the characters) individually and then...
Forum: .NET General 11-16-2011, 04:04 PM
Replies: 35
Views: 1,938
Posted By nsa0513
Thank you, so how would I have VB convert each...

Thank you, so how would I have VB convert each character into the ASCII number?

In this code, m is the message, which in this example is simply the number 3, so it is easy to compute. For my...
Forum: .NET General 11-16-2011, 10:03 AM
Replies: 35
Views: 1,938
Posted By nsa0513
I get a sort of character limit error if I try to...

I get a sort of character limit error if I try to place them in a single array. And it has been a while since I have used VB if the array is awkward, this also means the part about ASCII etc is over...
Forum: .NET General 11-15-2011, 04:36 PM
Replies: 35
Views: 1,938
Posted By nsa0513
Dim ArrayLo("a", "b", "c", "d", "e", "f", "g",...

Dim ArrayLo("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z") As Array
Dim ArrayUp("A", "B", "C", "D", "E",...
Forum: .NET General 11-15-2011, 04:00 PM
Replies: 35
Views: 1,938
Posted By nsa0513
I am not even sure how to start. I need each...

I am not even sure how to start. I need each character to equal a unique number that I can use in the equation.
Forum: .NET General 11-15-2011, 03:18 PM
Replies: 35
Views: 1,938
Posted By nsa0513
Raw RSA Encryption with VB

I am attempting to create a program that can do raw RSA encryption (performing the encryption without using 'Encrypt' and 'Decrypt') of a user's message that can contain a-z, A-Z, 0-9, and...
Showing results 1 to 19 of 19

 
Forum Jump
Advertisement:



Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe