Sign in to follow this  
Followers 0
TomCat

searching for encryption/decryption faste then _StringEncrypt

7 posts in this topic

#1 ·  Posted (edited)

Hi Im searching for an fast encryption algorithm that need not so much CPU then _StringEncrypt cause I want to use it in an chat and older PC's with ~1,5MHZ need to much CPU zu encrypt/decrypt the chat.

Anyone here know faster algorithm maybe with dll to use for my purpose ?

Edited by TomCat

Share this post


Link to post
Share on other sites



Did you try the ... Crypt.au3 UDF? For instance, RC4 is about as fast as encryption can be and should be sufficient to freely talk about the last McDonald sauce recipe.

1,5MHz PCs, must be bootleg. Ask for genuine stuff (no way under 4,77 MHz)!


This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Share this post


Link to post
Share on other sites

That's funny. No OS that runs on a 1.5MHz processor would run AutoIt or have the advapi32.dll that Crypt.au3 uses!

But maybe you meant some old 1.5GHz CPUs? :D

The Crypt.au3 UDF is the correct answer to the question, any way. But if the boxes are so old you're running a Win16 OS (i.e. Win98SE) you should note that AutoIt no longer supports backward compatibility older than WinNT/Win2K.

:-)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

But if the boxes are so old you're running a Win16 OS (i.e. Win98SE) you should note that AutoIt no longer supports backward compatibility older than WinNT/Win2K.

Given that RC4 is less than a screen page of simple C, it can be made to run decently even on low-end PIC microcontrollers (and was actually designed for). So even in the unlikely case the OP would run it on his grandfather's box, using a dll with pre NT AutoIt is still not unrealistic.

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Share this post


Link to post
Share on other sites

Yes i meant 1,5 GHZ sry xD

Crypt.au3 UDF works nice with it many tnx for the hind.

some benchmark:_StringEncrypt with 80 char long sting ~ 60ms on 800 MHZ CPU _Crypt_EncryptData same string and CPU ~1,5 ms

Share this post


Link to post
Share on other sites

Yes i meant 1,5 GHZ sry xD

Of course that's what we guessed but a little bit of fun isn't taboo and not (yet) payware!

some benchmark:_StringEncrypt with 80 char long sting ~ 60ms on 800 MHZ CPU _Crypt_EncryptData same string and CPU ~1,5 ms

I'd say both seem acceptable. How many 80-char strings can you compose per second in a live chat, leaving transit time alone? :D

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Share this post


Link to post
Share on other sites

less then client can cause server set the limit ^^

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0