Message Board


Message Board > Fenix / Bennu / Gemix / DIV > Compression & Encryption

August 30, 2006, 12:15
g105b
None
86 posts
Hola, DIV2 had commands for compressing, decompressing, encrypting and decrypting files on disk, are there any similar commands within Fenix, or any dlls that enable this?

:P
____________
.g105b''
#
August 30, 2006, 16:40
Rincewind
programmer
1546 posts

There is no such command in Fenix that I know of. But I am sure you can think of something creative yourself to scramble files.
____________
Personal website: http://www.loijson.com
#
August 30, 2006, 17:20
Rhovanion
Exterminated
666 posts
If you are not creative: Copy an MD5-hashing method and paste it in your code and generate a DLL from it, then import that dll and use the command in fenix. :)
____________
#
August 30, 2006, 17:57
PEader
お前はもう死んでいる
1486 posts

Quoting Rhovanion:
If you are not creative: Copy an MD5-hashing method and paste it in your code and generate a DLL from it, then import that dll and use the command in fenix. :)

How would he decrypt that one way MD5 hash? I can suggest some simple encyption and compression techniques if you want to make your own. Hell even haufman compression is understandable or someone (Sandman) can just make a gzip dll :-).
____________
I see 57,005 people.
#
August 31, 2006, 00:15
Sandman
F3n!x0r
1194 posts

Fenix does have something you can use, perhaps. fopen() has a parameter with which you can specify to use compression (O_ZREAD and O_ZWRITE: fopen("myfile.blaat",O_ZREAD) ; ).
But actually decompressing an archive is a different matter. Of course this can be done using a commandline archiver (like RaR.exe) and a wrapper for the system() command in C, though this is a crude solution. Though, if you badly want it I could bake such a dll for you.
____________
BennuWiki
Yes, my avatar has grey borders in IE (so get a decent browser)
ROOFLEZ ROOFLEZ
#
August 31, 2006, 15:51
g105b
None
86 posts
It isn't a priority, I was just testing things out again. If you fancy baking me a dll (or cake), you would be very welcome.
____________
.g105b''
#
August 31, 2006, 20:41
PEader
お前はもう死んでいる
1486 posts

Try implementing the Tiny Encryption Algorithm.
____________
I see 57,005 people.
#
August 31, 2006, 22:16
Rhovanion
Exterminated
666 posts
Quoting PEader:
Quoting Rhovanion:
If you are not creative: Copy an MD5-hashing method and paste it in your code and generate a DLL from it, then import that dll and use the command in fenix. :)
How would he decrypt that one way MD5 hash? I can suggest some simple encyption and compression techniques if you want to make your own. Hell even haufman compression is understandable or someone (Sandman) can just make a gzip dll :-).
he said "encrypt and decrypt a file" and I gave 50% of his solution. :P

Pick another algorithm then instead of MD5. I didn't spend a lot of time finding some
____________
#

Message Board > Fenix / Bennu / Gemix / DIV > Compression & Encryption

Quick reply


You must log in or register to post.
Copyright © 2005 Booleansoup.com
Questions? Comments? Bug reports? Contact us!