UserLibrary: crypt_lib - CryptMemory()

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Mischa
Enthusiast
Enthusiast
Posts: 115
Joined: Fri Aug 15, 2003 7:43 pm

UserLibrary: crypt_lib - CryptMemory()

Post by Mischa »

Hello!

Yesterday was the first time i worked with encryption
Result is a user library with only one function:

CryptMemory()

I've tested it with 'CrypTool'. It seems, that my method is save.
(Ok, nothing is really save.)

Maybe it could also be very easy to decode? So please try to crack an encoded file! :wink:
Also i don't know, if its fast enough.
(I have no values to compare)

Here you can download (13 kb):
http://www.thinkrelative.de/cryptmemory.zip

Included: Library, description and a
'visuell' (Image) Example.

Please test it and give me a gracious feedback.
(..cause i'm a greenhorn in this sphere :oops:)


Regards,
Mischa
User avatar
Mischa
Enthusiast
Enthusiast
Posts: 115
Joined: Fri Aug 15, 2003 7:43 pm

Post by Mischa »

Updated!

There was a stupid bug in the library.
It's corrected now.

Same download link.

And...Please..test..

Or has nobody knowledge in encryption?

Regards,
Mischa
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

Hi! It seems to work just fine. Now, it isnt just a simple moving-of-achii-by-number method? Or a xor with pw :D
User avatar
Mischa
Enthusiast
Enthusiast
Posts: 115
Joined: Fri Aug 15, 2003 7:43 pm

Post by Mischa »

Thanks for your reply.

No, it isn't so easy.
For this case, i've included the 'image'-example, cause
so you can directly see the results.

Simple moving or xor would result in periodical patterns
inside image, or maybe only in a 'color move'.

My method is a little bit more pretentious.

Does anybody knows about decryption software to check my libs
protection level?


Regards,
Mischa
User avatar
Mischa
Enthusiast
Enthusiast
Posts: 115
Joined: Fri Aug 15, 2003 7:43 pm

Post by Mischa »

Update.

Now its much more safe. I've build in an
avalanche effect (is this the right translation?)
and some more changes..

Maybe someone will test it...

UserLib + Example + Source

or..

Commandline Encoder/Decoder + Source of function

Regrads,
Mischa
Post Reply