Encryptor / Decrypter Algorithms Need Checking

Jun 13, 2011

Problem: QuoteNeed to design a program in VB.net 2008 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:

[Code]...

View 1 Replies


ADVERTISEMENT

How To Make A Decrypter

May 2, 2010

I want to make a program that Decrypts AER-256, Armon-64, Atom-128, Base-64, ESAB-46, EZIP-46, FERON-74, GILA7, HAZZ-15, MEGAN-35, OKTO3, TIGO-3FX, TRIPO-5, ZARA-128, ZONG22, & POSSIBLY RC4.<---Here alot of talk about it.

View 3 Replies

Text Encryptor Not Working

Apr 6, 2009

I am currently working on a text encryptor. This is my code (so far):

View 14 Replies

Replacing Chars - Encryptor - Change Letters In Texbox1(abc) And Put Them In Textbox2(123)

Jul 18, 2009

I wanna make a, lets call it encryptor... which will change letters in texbox1(abc) and put them in textbox2(123) for each a - 1 b -2 c -3...lets stop at tht...for each a in texbox1.text = 1 in textbox2

View 14 Replies

Way To Optimize My Algorithms

Sep 28, 2009

I had been working on a project that would generate a loan schedule.

But, It needs to factor in specified holidays and weekends.

Now, when running with a small 'term', it seems to work fine.[code]...

View 14 Replies

Implement Encryption And Decryption Algorithms?

Nov 30, 2010

How to implement encryption and decryption algorithms in vb.net? Which algorithm is the best suited one?

View 4 Replies

Sorting Algorithms Preferably Fastest

Jan 19, 2012

I am quite new at VB.NET and just need helo on sorting algorithms, prferbly the fastest (quick sort) but bubble would so. It is for sorting and array for 12 numbers, which are being enter by the user via a input box. These are then transfered onto a listbox for visual aid. so the steps involved would be: (already done)1) Enter then inputs into array via inputbox2) Input to sppear in listbox (not done)3) Sort the array ascending/decending4) print results into the listbox again.In my code there is also a total and a average, but that doesnt need any help on it. [code]

View 4 Replies

VS 2008 - How To Implement New Encryption Algorithms

May 28, 2009

I want to try and use the new encryption algorithms provided with .NET 3.5. Any links or examples for how to use one of them to encrypt xml content?

As written on msdn site is:
The following algorithms are included:
Advanced Encryption Standard (AES) with key sizes of 128 and 256 bits for encryption.
Secure Hash Algorithm (SHA-256 and SHA-384) for hashing.

Elliptic Curve Digital Signature Algorithm (ECDSA) using curves of 256-bit and 384-bit prime moduli for signing. This algorithm is provided by the ECDsaCng class. It allows you to sign with a private key and verify with a public key.

Elliptic Curve Diffie-Hellman (ECDH) using curves of 256 and 384-bit prime moduli for key exchange/secret agreement. This algorithm is provided by the ECDiffieHellmanCng class.

View 4 Replies

Find Virus Scanning/detection Algorithms?

Feb 2, 2010

Where I can find virus scanning/detection algorithms?

View 3 Replies

Secure(ish) Encryption/decryption Algorithms Using A String As A Key?

Aug 25, 2009

Is there a way to encrypt/decrypt text (string form) in VB.net using another string as a key? Meaning, if one user encrypts using this key, the other user needs to decrypt using the same key?I do NOT mean public and private key encryption or anything of the sort.If not, what is the second best way to encrypt/decrypt data without public/private keys?I want to make a simple way to send messages securely.

View 2 Replies

Write A Pseudocode For 2008 Programs / Algorithms?

Feb 9, 2010

How to write a pseudocode for vb.net 2008 programs/algorithms? is there any defined way?

View 2 Replies

Make Flowcharts To Describe Algorithms Used / Test Plans

May 4, 2009

i have a program(i already coded etc).Now i'm asked to make flowcharts to describe the algorithms used + test plans.Regarding flowcharts,how do i implement functions + procedures in them and about test plans--anyone knows or has some good site or notes so i know what i can do??

View 1 Replies

DB/Reporting :: Move Data (400 GB) Into Database Then Be Able To Run Various Algorithms Determining Correlations Of Time Series

Mar 12, 2012

I'm faced with a (fun, actually) data mining problem; I have raw ASCII files from instruments, and I want to move that data (~400 GB) into a database, then be able to run various algorithms determining correlations of time series, etc. I would like to write the mining algorithms in Visual Basic (.net, VS 2010 right now), and be able to do visualizations with VB code I have in hand.On the nature of the data: think of a set of several thousand devices, each recording a measurement at a given interval - so I'm talking time-series vectors. It's not more complex than that - though I may have vectors with holes, etc. - not sure what problems of that sort lurk in the data.I spent today re-acquainting myself with VB.NET's interface to (in one case) a Microsoft Access database. What used to be fairly simple - DAO I think it was - involved tables, recordsets, etc (and that would likely be fine). Now I seem to be required to have a weird variety of generally useless objects, e.g. 'adapters', 'datasets', etc. The problem is that I know exactly what I need, and all this extraneous stuff just gets in the way (certainly in coding complexity and opaqueness, and likely in efficiency as well). If any of these mechanisms gave me a kind of virtual access to the entire dataset, and let me control caching parameters, etc.it might be great, but I found nothing along those lines. It seems like useless bloat, though I suppose it must be useful to someone.Anyway, I tried a number of different approaches, and none seemed at all aimed at what I need to do: efficiently do math on a large dataset. I can't believe I'm the first to have this problem, but I can find no useful wisdom out there. I'd be comfortable with pretty much any underlying database mechanism: MySQL, SQL Server, MS Access, but ideally something generally SQL based (I may eventually have to transition this entire system to draw from a client's SQL database, though that's not an overriding concern now). Other than that I want simplicity and efficiency. I thought my old ODBC techniques would work, and to some extent they do, though modifying tables seemed to have bizarre problems (no errors, but not modifications either).

I do have a fairly aggressive deadline to show some algorithm results, so my focus in the short term is to get something reasonable working *in* the short term - in other words, it's less important to me to pick the 'fastest' relational database than it is to pick a database that lets me focus on coding the algorithms, not working through tedious data access coding. If this db could be any smaller, I'd have tried to do it all 'in memory' at least for proving concepts; I don't want to have to learn an entire jargon and approach just to be able to retrieve data points.Perhaps I'll need to bite the bullet and just write something myself, a .dll perhaps just to save and restore large time series vectors. It seems a bit frightening to me that one would have to do this in this age, what with all the database systems out there, but I don't have much time to work through arcane interface logic.

View 2 Replies

Timing Code - Measure The Performance Of Seven Sorting Algorithms In A Single VB 2008 Program

Sep 15, 2010

I'm trying to measure the performance of seven sorting algorithms in a single VB 2008 program. I've tried using a Timer componend, the Stopwatch, and DateTime.Ticks but nothing works. The following simple code produces a result of about 500 (milliseconds), which is correct, but when I change 500 to 1000, I get a ridiculous result like 0 or 8.

[Code]...

View 11 Replies

VS 2005 - Boolean Checking - Better Performance By Checking For A True Value

Aug 4, 2010

Is there any better performance by checking for a true value like this:

[CODE]..............

Than like this:

[CODE]..............

View 5 Replies

.net - Checking For Comments?

Jun 2, 2011

i am writing a vb.net program which gets a c program as an input and checks it for errors,now i want my program to skip the comments in the c program,i have written some code but its not working

For Each line In TextBox1.Lines
sample = TextBox1.Lines(k)
Dim len As String
len = sample.Length

[code]....

View 2 Replies

.net SQL Checking Dates?

Mar 28, 2011

Basically, I have a list of dates in a SQL table with some statistics next to each of them. I want to compare the dates in the table with a certain date I choose. However, my dates in my table are stored as Varchar(50) (and have to be). Apparently I can convert the date in the table into date type but I don't know. Does anyone know how? My current code can be seen below.

[Code]...

View 4 Replies

Asp.net - .NET Checkboxes Checking?

May 14, 2012

I have a form which contains a checkbox field. On page load I want to create a separate checkbox for each customer in my Database. The code I have to create the checkboxes for each customer works fine. However, I also want to check in the database if the customer is set to unauthorized if they are then I want to check there box. I also have code for the case where the user checks a box. If a box is checked I update the database setting the unauthorized attribute to true. My problem is when I check a box it works fine and the box is checked, however if I reload the page all the boxes are unchecked. So either my database update is not updating the database or the way I check on page load for checked boxes is incorrect. Any ideas?

The code for the asp checkbox field:

<asp:CheckBoxList id="check1" AutoPostBack="True" TextAlign="Right" OnSelectedIndexChanged="Check" runat="server">
</asp:CheckBoxList>

The Code for the page load:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim sql As String = "SELECT Name, unauthorized, ID FROM Customer ORDER BY Name"
Dim dt As DataTable = db.execDataTableQuery(sql, "Customer")

[code]....

View 1 Replies

Asp.net - Checking If Row Was Inserted?

Apr 19, 2011

I am trying to check whether a row is getting inserted into my database. It is throwing an error even when it does insert (it's a database issue that will get resolved later when I get a newer version of Microsoft Access), so I can't check whether the insert is successful based on whether there's an error or not. I think I need to check the AffectedRows of something, but I'm not sure what. I've been looking for info on how to do this but I can't figure out how to make it work for my exact situation. Here's a general idea of what my code looks like:

Protected Sub Wizard1_FinishButtonClick(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.WizardNavigationEventArgs) Handles Wizard1.FinishButtonClick

[Code]...

But the numInserted is coming out as 0 every time even though the insert is successful. It may have to do with the fact that myIns1.ExecuteNonQuery() throws an error even though the insert is successful.

-EDIT- I discovered that the "duplicate values" error is because it is somehow attempting to insert the record twice. I have no idea why it's doing that though.

View 2 Replies

Best Way Of Checking If A Value Is Present

Nov 11, 2011

The following line of code gives a warning with Resharper: 'Comparison of floating point numbers with equality operator. Possible loss of precision while rounding values.'

Dim samples() As Single
If samples(i) = Nothing Then
samples(i) = _mPreviousSamples(i)
End If

What is the best way of checking if a value is present?

View 3 Replies

Checking A String Contains A Value?

Jul 7, 2010

I am trying to figure out how to check a string can contain a certain value.In the begining I had a checkbox and wanted to hide a ceratin field depending upon which checkboxes were selected.The problem with this is that the value is always = to the first value.

I got around this by writing these values into a hidden textBox and using a loop.So now I have a textbox and if the user selected the 1st and 3rd choice the textBox would = "AC" If they selected all choices it would = ABCD etc...How can I determine if the values in my textBox contains just letter 'B' ?

I tried this:

--------------------------
Dim values As String = [String].Empty
For Each item As ListItem In section2List.Items
If item.Selected Then

[code]....

but this doesn't work.

View 7 Replies

Checking For A SQL Result?

Dec 2, 2009

I need to check if my SQL statement returned any results from the Access db I'm using to store my data.

I have this code atm:

cn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=D:Computing Projectdatabase.mdb;")
cn.Open()

[Code]....

I would like to be able to check (maybe via a boolean value or something) that this result returned a query. I'm using VB.net.

View 3 Replies

Checking For Something Without An Event?

Nov 19, 2008

I've been wondering how to do that for a while. (I never really needed it so far ). I wanna make e.g. a simple alarm script (waits for 6.30 am and makes a beep). The only way I could think of it is make a loop in the main function which loops until 8 hours later. Is there any other, more civilized way (probably event?)

View 6 Replies

Checking Functions In A Dll?

Mar 28, 2009

How do I check which functions are in a dll I don't who's contents are unknown to me? I am looking to use a certain function and I have a couple of dlls and I don't know in which one it is are its name. So i need to be able to show all function available in a dll and their parameters.

View 6 Replies

Checking If An Object Is Not Nothing?

Sep 29, 2009

In my application i have set a reference to an activeX component that has been written in vb6(that's not important) What i have done is Here (woo my first hyperlink i hope it works lol) But this is neither here nor there, what i would like to do is put a check to see if the object that has been assigned the activeX component has been assigned it. What i can think of is:If myObject Is Not Nothing Then'set some other stuff End If

The only trouble is, obviously i have an error. Over the Not Nothing I have the following error: 'Is' requires operands that have reference types, but this operand has the value type 'Integer'.Is the type 'Integer' at the end there refering to the Nothing being an integer -1 or 0 and i'm not sure how i would reference the type active x.my question: How can i check if the activeX component is an activeX component and not a whisp of thin air/nothing.

View 6 Replies

Checking If System Is Up Or Down

Apr 30, 2012

I am trying to make a form that is connected to all my systems at work, this form will not be doing much, it will have an image representing each system, all I want the application to do is if one system is down, the image will turn into red, and if its up, it should be green, to be more clearly and make it simpler, I want it to be linked to more than one destination, each time one link goes down, its image changes to red, and that it. But the problem here is i dont know where to start from, specially that I don't know how to link and get a true or false for the connection!

View 3 Replies

Checking If The Query Contains A Value?

Jul 8, 2011

The following piece of code executes a SELECT query and places the result into a textbox, but if the query returns nothing an error appears saying that there is no value and it won't continue the lines of code after it. (I modified code I found on a website after a Google search, I'm not sure if this is the best way to do it but it seems to do what I want.. so far)

[code]...

How would I change the code so that it checks the query to see if it returns a result? I'm still not too sure what the SqlDataReader can do fully, so I'm not sure if it can check for a result.

View 5 Replies

Checking No Two Numbers Are The Same?

Nov 22, 2010

what the following code is ment to do is generate a bunch of numbers between 1 and 49 using the while loop to check if two of these numbers are the same. Problem is two numbers are still being generated the same and I know that the numbers generated again will not match them originals so it stops the loop.

[Code]...

View 9 Replies

Checking VB Syntax

Mar 12, 2012

i hope to create an application to check vb.net syntaxes (for simple function or methoe). Application will be given richtext box to add function or method and when submit, need to check that vb.net syntax and it will be execute by powershell.

View 1 Replies

DSN Checking / Updating?

Apr 24, 2009

I just want to add a DSN if it does not already exist. I am looking at the registry and I know the DSN exists but this code returns False consistently.If(not isnothing(My.Computer.Registry.CurrentUser.OpenSubKey("SOFTWAREODBCODBC.INISQL_Finance", True)),True, False) Once I get past this the next step is to add the DSN if needed.

View 4 Replies







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