Sign in to follow this  
Followers 0
jpam

Fast Crypt

48 posts in this topic

#1 ·  Posted (edited)

udf and dll to encrypt/decrypt and Compress/Decompress all kind of files

XOR based encryption/decryption

password key's can be a string or file of any lenght.

dll , udf and test script all included in zipfile

10.7 mb file encrypting in 89 ms

on my comp running a celeron 2.4 ghz

Compress and Encrypt 1407 KB bitmap:

compress = 47.72 ms

EnCrypt = 2.4 ms

New size 799 KB

Decrypt an Decompress:

DeCrypt = 2.38 ms

Decompress = 9.97 ms

New size 1407 KB

Compress and Encrypt 4.022 bytes textfile:

compress = 0.27 ms

EnCrypt = 0.09 ms

New size 1.553 bytes

Decrypt an Decompress:

DeCrypt = 0.08 ms

Decompress = 0.13 ms

New size 4.022 bytes

It's not the best compressor like zip or winrar, but i have build this Compress/Decompress function for speed

download @ http://prospeed-jan.xprofan.com/list-all-downloads.php

"FastCrypt.zip"

Comments are wellcom

muttley

Edited by jpam

Share this post


Link to post
Share on other sites



In order to reply we should be able to download the file ... am I right?


SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post


Link to post
Share on other sites

Umm, sounds really cool in all, but the links don't work. Weight watchers does.

Share this post


Link to post
Share on other sites

crap !

forgot that the php download script does not like capital letters :)

allready fixed muttley

Share this post


Link to post
Share on other sites

crap !

forgot that the php download script does not like capital letters :)

allready fixed muttley

Thank you!

Share this post


Link to post
Share on other sites

did some optimizing on the dll

50% speed increase for encrypt/decrypt

crypt function needs only 2 parameters now

you can now use a password string or a file as encryption key

key files can be the same size or longer as the source file

so , there are no sequential repeats in the key,

it's very hard to crack because the key can be any type of data including binary files.

download @ http://prospeed-jan.xprofan.com/list-all-downloads.php

muttley

Share this post


Link to post
Share on other sites

One small question...

How do you decrypt the file that you just encrypted using your DLL and UDF?

Share this post


Link to post
Share on other sites

Run this script and your file will be encrypted

Run it again and your file will be decrypted

#include <Crypt.au3>

$pass = "your path/file or password here"
$pMem = ReadFileFast("e:\bird.bmp")
Crypt($pMem, $pass)
WriteFileFast("e:\bird.bmp", $pMem)

Exit

Share this post


Link to post
Share on other sites

This seems really cool, but it doesn't work! I tried it with the script you posted above, I ran it, and it, with cow in the .txt, and it made it: 3.y . I ran it again, and I got: con ?

Share this post


Link to post
Share on other sites

its working fine overhere >_<

i made a text file with the word "cow" in it, i run the script twice and the .txt file decrypt the word cow fine :)

but i compiled a new dll for you

this one i have used to test the .txt file

you can download the new build from my webpage

http://prospeed-jan.xprofan.com/list-all-downloads.php

Share this post


Link to post
Share on other sites

Is it a possibility of me using Vista? This time, I ran it and got this:

co

(Hmm, the correct letter isnt showing up, but its like thi _| but connected, and smaller, like an exponet.)

(I also change it back to cow, and then run it twice, and get: coÔ) It seems to be different every time?

Share this post


Link to post
Share on other sites

are you using a file as password ?

and are you reading and writing to c:\ ?

i have to do some research on vista and asm :)

Share this post


Link to post
Share on other sites

Im just using the exact example you provided, but instead of the E:\ stuff, im using @DesktopDir & "\moo.txt"

Share this post


Link to post
Share on other sites

#17 ·  Posted (edited)

uploaded new fastcrypt.zip

changed crypt.dll internal masm read/write functions to win api read/write functions

@Alienware

can you test it for me on vista ?

Edited by jpam

Share this post


Link to post
Share on other sites

Sorry for the bad news, but it's still giving me a random letter at the end. Like before, cow, it encrypted, when it decrypted, it with coN. Grr!

Share this post


Link to post
Share on other sites

rewrote xor routine in dll

tested on vista(friend) without problems.

AlienWare can you test it on your computer ?

with this version only password strings are allowed,

if there are no problems on your computer then i add Keyfile support

http://prospeed-jan.xprofan.com/list-all-downloads.php

Share this post


Link to post
Share on other sites

jpam...

Just tried the newest version. Using Vista Ultimate. Encrypted/decrypted .txt, .jpg and .zip files. Works like a charm. Excellent work.

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