Thursday, June 10, 2010

Encryption

hey russ you mentioned a program to be it was like izma or something could you give me the name of it thanks

11 comments:

  1. hey russ im gonna do this it will work better for me:
    1.write php script to decrypt the urls
    2.have the script download the file to there machine
    3. use winrars command line to decompress them
    when im done with the scripts ill show you them
    but could you also provide that program i would also like to have a look @ it thanks

    ReplyDelete
  2. Hi Cody,
    The compression algorithm that I'm familiar with writing software for is called "LZMA". You can google it to find out about it. Here's a link to the software development kit (for these languages( C, C++, C#, Java):

    http://www.7-zip.org/sdk.html

    Of course there are lots of different ones available, but this is the one I've used in software. Microsoft Visual Studio has several encryption algorithms built into their .NET libraries. Or, you could write your own, like simple byte offset, swapping, inversion, etc. Since this is just to make it so only your friends can download your files from your site, you could get away with simple encryption directly in PHP (as long as they can't see your PHP code). Most people won't take the time to reverse engineer your custom file encryption.

    Russ

    ReplyDelete
  3. Thanks hey if you dont mind can you take a look at my site and tell me your thoughts thanks

    http://www.computerlibraries.comli.com/

    ReplyDelete
  4. Hi Cody,

    That's amazing! You have so much material to look at on your site. The XML tutorial looks great. I watched a few minutes of it, but had to stop due to work. I'll watch the whole thing tonight.

    I really like the tabbed home page format with animated drop down menus. I did a "view source" but couldn't figure out how you did it. Very cool.

    Russ

    ReplyDelete
  5. Hey thanks i will put up tutorials for php and html today.You cant see the source because its done with php a bit.
    Here is the source to:
    home.php
    login.php
    members.php
    http://computerlibraries.comli.com/sourcehome.php

    ReplyDelete
  6. hey russ do you know how to bypass port restrictions on a router?

    ReplyDelete
  7. Hi Cody,
    Sure, it's easy. I'll show you in class, on the Wifi router that I use in class.
    Russ

    ReplyDelete
  8. i know how to port forward but my router wont let me go through it i bought a new one and it lets me just fine

    ReplyDelete
  9. Try using the free wireshark packet capture utility on both sides of the router. That way you can look at the port number embedded in packets to verify it's what you think it is, and you can see if packets are getting thru. They're getting thru if you can see the same packet types in both captures. I'll explain & show you wireshark in class. It's a free utility (for windows, linux, etc) on "sourceforge.net" that you can download.

    ReplyDelete
  10. hey russ im thinking for my downloads on my website doing peer-to-peer like using torrents but should i do that or how do you think i should have them download them? i dnt want to do direct links

    ReplyDelete
  11. Cody,
    I think the easiest way to do that is just to zip each file with 'encrpytion' enabled in the zip file. Then, let any one download the file, but only give the password to unzip it by email to those who should get it.

    Another way is to post the files for download on Box.net. I think that they have a free version, but with limited drive space. Box.net allows you to link to your uploaded files so that you can email someone the link for them to download. But in general, people can't browse the box.net site to find your files. Try it out.
    Russ

    ReplyDelete