Mini Encryption With The Modulus Operator?

Nov 16, 2011

I tried a mini encryption with the modulus operator but now I can't DECRYPT what I encrypt.How do I use the modulus operator to decrypt this:

Public Class Encryption
Private Sub btnEncrypt_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEncrypt.Click
'Encrypt digits entered by user[code]......

View 9 Replies


ADVERTISEMENT

Creating A Mini Mp3 Library And A Mini Mp3 Player?

Apr 24, 2011

creating a mini mp3 library and a mini mp3 player?

1. With the library, should I use a database or how would I create a file holding Title, Artiste, Filepath to MP3 file.

2. With the player, is there a built in mp3 feature in Visual Basic Express Edition 2008?

View 2 Replies

Modulus Calculation Of Large Numbers?

Oct 19, 2010

how to get the mod of large numbers? for example: (3214282912345698765432161182 mod 97)

View 10 Replies

.net Encryption Result Does Not Match The Xcode Encryption Result Given The Same Input Parameters?

Jun 21, 2011

I have set up a method in vb.net and in xcode for encrypting a string using as far as i can tell the same parameters for an AES encryption.I've looked all over the place but cannot find information on whether they use the same encryption algorithm and settings.

this is the vb.net code:

Dim encryptAES As New AesCryptoServiceProvider()
Dim encoding As New UTF8Encoding()
Dim encryptor As ICryptoTransform
encryptAES.Key = encoding.GetBytes("12345678901234567890123456789032")
encryptAES.IV = encoding.GetBytes("1234567890123416")
encryptAES.Mode = CipherMode.CBC

[Code]...

View 1 Replies

C# - Mini Web Server For .NET?

May 12, 2009

I wrote a VB.NET windows service and I'd like to know if there is some library or something that will provide me with a very simple mini web server. If my service is running, I'd just like to be able to type, in my browser:

[URL]

And have a status page popup. It will only be one single page and very simple html. Anyone know an easy way to do this before I attempt it on my own and over-engineer?

View 8 Replies

Converting MINI-BASIC Over To .NET?

Mar 9, 2009

Would it be an easy task to convert MINI-BASIC, written using MASM, on over to VB.NET?Here is the Yahoo Groups page for MINI-BASIC: [URL] MINI-BASIC is a modern variation on the old Tiny BASIC language from 1976.

View 17 Replies

Creating A Mini Updater?

Jul 30, 2009

I have created a application that I have installed on the user computer. However, I want the application to be self-updating. But I am not sure if this would really update the application.The application will download all the files from the web server, and replace the files in the directory where the program as been installed to. The user will restart the application.I am just want to be sure, because I can't replace the installed files with the updated ones. As the application will be running. So really the application cannot delete/replace itself

View 5 Replies

Making A Mini Vb Devoloper?

Nov 30, 2010

i am taking on some new program ideas! And my first one ist to make a mini vb devoloper i already have a html editor but i would like to make one like .net with the tabs solution exsplore and controls and maybe visual designer if possible. If you know of any ways of doing please let me know i am desprate.

View 1 Replies

[2008] [WPF] Map With Mini As Navigation?

Jan 24, 2009

I'm making a WPF form that has a large map as an Image in a ScrollViewer. It also has a mini-version of the map as another image. I want to make it possible to click the mini-version of the map to scroll the big version to a certain area of the map. So I need to do the following:

1. When moving the mouse over the mini-map change the mouse cursor to a square with the appropriate size to indicate what part of the map will be shown.

2. Scroll the big map to the appropriate section when the mini-map is clicked.

View 10 Replies

Make A Mini Browser For IT Department?

May 11, 2009

I want to make a mini browser for my IT department. I want to have buttons that will load internal websites and log in. I understand how to load th epage but have no clue how to pass the log-in information.

View 3 Replies

Make Floating Mini Toolbar?

Jan 7, 2010

How can I make a floating toolbar (like the font toolbar that appears when highlighting text in Word 2007)?

I would like it to appear at a given point when mouse is clicked.

View 9 Replies

Mini Osk At Windows Login For Vista?

Jul 16, 2009

I just got finished writing a mini on screen keyboard for the xp login screen.Does anyone know if this will be easily possible with Vista, or 7 ?If not, what are the hitches?

I was beta testing 7 until recently, so I don't want to waste time re-installing it for no reason.

View 14 Replies

Ppt On Mini Project - Creating Web Browser

Jun 12, 2009

i am a student of b-tech i want a ppt for my mini project i.e. web browser using vb.net .

View 4 Replies

Mini Search Engine For Local Computer?

Mar 6, 2012

I'm writing a program that will be searching files for the user and I need to find a good method to do so. Obviously it will need to filter the search to try to get the best result possible.

View 6 Replies

Error: Option Strict On Disallows Operands Of Type Object For Operator '='. Use The 'Is' Operator To Test For Object Identity

Jan 27, 2010

I am tightening up my coding with the Option Strict set to ON. It has now produced alot of errors. An example of this is:

If AllocatedDGV.Rows(i).Cells("RoomNumber").Value = RoomsAvailableDGV.Rows(j).Cells("RoomName").Value Then

It gives me the following error: Option Strict On disallows operands of type Object for operator '='. Use the 'Is' operator to test for object identity.

View 6 Replies

Option Strict On Disallows Operands Of Type Object For Operator Use The 'Is' Operator To Test For Object Identity

Apr 6, 2012

I need to write an interface to get data to/from our data files.

We have a low level class that holds field values for each record read from the files.

This just holds two values, the value read from the file (DBValue) and the updated value that may need to be written back to the file (CurrentValue).

These values may be any of the standard value types (integer, date etc) or a string.

Either value (DBValue or CurrentValue) may be null if not defined.

I have written the class to manage this data which works fine while option strict is NOT on.

But we have an office policy of having option strict on all the time.

When I put option strict on, my object value comparisons fail with the error: "Option Strict On disallows operands of type Object for operator '='. Use the 'Is' operator to test for object identity."

Question, how should I change the following code to handle option strict on ...

This is all running on Visual Studio 2010

[Code]...

View 1 Replies

Coalesce Operator And Conditional Operator In .NET?

Mar 10, 2009

Possible Duplicate: Is there a conditional ternary operator in VB.NET?

Can we use Coalesce operator(??) and conditional ternary operator(:) in VB.NET as in C#?

View 5 Replies

Read Data From A GPS Logger That Plugs Into A Computer Using Mini USB

Sep 13, 2011

I need to read data from a GPS logger that plugs into a computer using mini USB.

I need to do this with C# but ive never used C# before so i am completely clueless.

I dont need code right now though the first thing i need to do is just recognise what processes this task consists of. What method is used what are the things i need to do.

I really need it explaining in as simple terms as possible ive tried searching the net for it for hours but terminology is so complicated and im so clueless i dont think i would recognise the correct information if it hit me in the face.

View 2 Replies

VS 2010 File System Mini Filter Driver?

Jun 20, 2011

Bit of a long shot but does anyone know if it is possible (I said possible, not easy ) to create a file system mini filter driver in .NET? I'm assuming not but I don't really know of any technical reason why... just that every single example on the interwebs is C++.

I realise it would take me a very long time just to convert all of the functions and structures required to .NET before I even got started on the actual functionality of the filter driver itself but theoretically is it possible?

View 2 Replies

How To Use Operator As A Comparison Operator

Nov 11, 2009

I want to perform equality comparison in VB.NET and cannot get it to work. Error: value of type Boolean can not be converted to System.Drawing.PointF

[code]...

View 4 Replies

.Net Using RSA Encryption?

Mar 25, 2012

is there anyway that I can convert this to use RSA encryption?

Imports System.Text
Imports System.Security.Cryptography
Imports System.IO
Public Class ClsEncryption

[code].....

View 1 Replies

Encryption App Using Xor .net?

Jan 28, 2011

I have been trying to create an app that will do xor encryption. I have tried a few different functions but none of them seem to give me what I want. I need it to put the coded text into a 7 bit ascii string. For example if the key was a - 1100001 and the text to be encrypted was s - 1110011 then it would return 0010010 as the encryption. One of the pieces of code I tried to use

Public Function XOREncryption(ByVal CodeKey As String, ByVal DataIn As String) As String
Dim lonDataPtr As Long
Dim strDataOut As String
Dim temp As Integer

[code]....

This returns a hex digit though which will not work for what I want.

View 4 Replies

IDE :: Dll Encryption?

Sep 3, 2009

have made a library for my vb.net project by combining 3 libraries (using ilmerge).

View 3 Replies

Raw RSA Encryption With VB

Nov 15, 2011

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 [,.;:'"()]. I've attached a screen shot of the application form.

Basically, the user will pick from a list of prime numbers from the first box and input them into p and q. They will type their message in the designated textbox and then hit <encrypt> which will encrypt using p and q and then show the encrypted message below. I'll leave out the Key box since that deals with the math behind the encryption.

The part I am stuck on right now is assigning a number to each one of the characters so that it can be encrypted. These numbers need to remain the same so that the message can be decrypted as well.

View 19 Replies

.xml Encryption For Protection?

Nov 23, 2010

i have this .xml file read and display at runtime by vb.net2003. the .xml file is the database which contain various data and its not for adding more data or edited by user so i need to protect the file so that my code can read and display those data. can anyone know how to protect the file.

View 1 Replies

AES Encryption / Decryption

Feb 1, 2012

Here is some code that works well for strings:

[Code]....

modifying these functions to encrypt/decrypt byte arrays rather than strings. Also, to have the functions return the encrypted/decrypted byte array, rather than a string.

View 2 Replies

Barclays Encryption Asp.net (VB To C#)?

Oct 12, 2011

I am trying to implement the encryption script from Barclays payment gateway, however it's in VB and the rest of our site is in c#.

The script is

Public Class Example
Inherits System.Web.UI.Page
#Region " Web Form Designer Generated Code "

[code]....

How am I able to either run this VB in my C# aspx page? Or do I need to convert it to use c#?? In my aspx page, I have the first line

<%@ Page Language="C#" ContentType="text/html" ResponseEncoding="utf-8" CodeBehind="encryption.cs" %>

View 2 Replies

Encryption Of Txt Files

Jun 2, 2009

my program takes a txt file and encrypts it successfully but it returns the wrong thing when decryting.[code]

View 4 Replies

Getting AES-Encryption Work In .NET?

Sep 23, 2010

I have a problem with an encryption made in AdobeFlex and which I need to translate to VB.NET.The core is a AES Encryption, but I tried several ways and code and the encrypted strings weren't the same The original Flex Sourcecode is:

VB
private function encryptAES(arg1:String, arg2:String, arg3:String="aes128-cfb8", arg4:String="None"):String
{
var loc1:*=com.hurlant.util.Hex.toArray(com.hurlant.util.Hex.fromString(arg2));

[code]....

My question is how to get the code work in VB.NET

View 3 Replies

MD5-encryption Is Acting Up?

May 30, 2011

I have a problem with an MD5-hash algorythm that's acting very oddly.Here's the

vbcode
Imports System.Security.Cryptography
Imports System.Text

[code].....

View 2 Replies







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