Solved

Encrypt - RC4

Posted on 2000-05-12
6
268 Views
Last Modified: 2010-05-02
Hi,
i will display some code i got and i want you to tell me a few things about it.................

The code i want you to look at is at:
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=1736

have a look and enter it into your version of vb at home and try encrypting a file 6 approx megs.
tell me the exact filesize, tell me exactly how long it took to encrypt it and tell me if the encryption is reasonable. for example could i put a lot of trust into the encryption.
I am too lasy to do this myself and it really isn't that hard but i don't have too much time.
Thanks in advance
0
Comment
Question by:adam8
  • 3
  • 2
6 Comments
 
LVL 15

Expert Comment

by:cquinn
Comment Utility
I'm too lazy to do it too!  You know what they say - If you want a job doing properly, do it yourself!
0
 
LVL 9

Accepted Solution

by:
GivenRandy earned 50 total points
Comment Utility
On a P6-266 with 320MB memory, a 6.341MB file took 174 seconds.
0
 
LVL 9

Expert Comment

by:GivenRandy
Comment Utility
I had to change some names (e.g., "txtPattern" was being referred to as "txtPatter").
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 1

Author Comment

by:adam8
Comment Utility
nearly 3 minutes?
which function did you use?
for large files you are supposed to use EnDeCryptSingle but for small files the EnDeCrypt function, try it again, it should only take around 8 seconds
0
 
LVL 9

Expert Comment

by:GivenRandy
Comment Utility
I tried it on a slower machine and it took almost 8 minutes.  The file is 6+ MB -- but it should only take 8 seconds?

I checked and it is calling the EnDeCryptSingle function.
0
 
LVL 1

Author Comment

by:adam8
Comment Utility
ok i will accept the answer.
i just saw a rc4 cipher in vb that took 14 seconds for a 6 meg file on a pentium 133 which is quite fast.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now