CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2000
    Posts
    22

    Compression & Encript

    Hello,

    Can I have some sample for
    1. Compresstion

    2. Encription

    =Deep


  2. #2
    Join Date
    Jun 2001
    Location
    Sri Lanka
    Posts
    272

    Re: Compression & Encript

    What is compression?

    For Encryption:

    Get Ascii Value of Each Character & add 100 (or some figure) to change the value of the Character to another ASCII value. (Make sure u don't exceed 255, as that is the max.)

    Use the reverse technique to decrypt

    For more Security u can change the odd positioned characters by adding one Ascii value and to even positioned ones another Ascii
    Good Luck

    If u don't know how to Rate an answer, then Rate my answer to learn, If u know, then practice it

  3. #3
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: Compression & Encript

    Go to http://www.planet-source-code.com/
    and search for "superior file splitter"
    this source code shows a way to split files with a kind of compression:

    Superior File-Splitter v0.5 | 22/5/2001 |
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    By Rudy Alex Kohn [[email protected]]

    Split file (with optional compression), Following code is used : CoolBorder, Encryption (to ini), Check if file exists, FileString Manipulation, ProgressBar Deluxe 1.01, Huffman Compression Class (by F.Q). Very low memory usage when splitting/joining files. See the about tab for additional Credits.

    Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris, Dr_Michael
    and all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

    The Rater
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

  4. #4
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: Compression & Encript

    Http://www.Planet-Source-Code.com/vb has a bunch or samples for compression, Encrypt and Decrypt.
    Go there search to your hearts delight

    John G

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured