Results 1 to 10 of 10

Thread: File Encription

  1. #1

    Thread Starter
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877
    Hi,
    I am planning to write a Encription Utility which will be able to encrypt/decrypt any types of file. I am new to encription, so i would like to hear from u guys. Like what are the algorithm available and which is the best. And is it possible to write a Encription Tool in VB.

    Thanks for any help

    Danial

    [VBF RSS Feed]

    There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.

    If I have been helpful, Please Rate my Post. Thanks.

    This post was powered by :

  2. #2
    Lively Member
    Join Date
    Aug 2000
    Location
    quebec
    Posts
    81

    Post

    You should do a standard web search using 'encryption coding' or 'programming' as search phrase.

    Any search engine will give you loads of sites that deal with this.

    Look at the MS encryption API as well.

    Of course you can do this with VB - you can do it any prog. langage.
    C/C++,Delphi,VB6,Java,PB (blech!),ASP,JSP,SQL...bla bla bla and bla
    I love deadlines. I like the whooshing sound they make as they fly by.
    —Douglas Adams

  3. #3
    Guest
    Go to http://www.planet-source-code.com and search for "encryption". One I find that works well is RC4.

  4. #4
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    If you want to make your own encryption method you could go to my homepage and download examples on keyencryption
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  5. #5

    Thread Starter
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877
    Hi,
    Thanks everyone for your reply. Can any one tell me how can i Encrypt a file rather then text. I want to write a function which will take a filename (anytype) as a parameter and encrypt the passed file. How do i go about it, any ideas.

    Thanks again

    Danial


    [VBF RSS Feed]

    There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.

    If I have been helpful, Please Rate my Post. Thanks.

    This post was powered by :

  6. #6
    Guest
    Search for RC4, as Megatron said. It is a file encryptor (for all file types including exe).

  7. #7
    Guest
    In other words, a Binary encryptor. It encrypts regardless of whether it's a string or numeric.

  8. #8
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Open the file in binary, Read the file with Get statement into a byte array, perform the encryption on the array, use Put statement to write the array back to the file. Now the encryption part is up to you or?
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  9. #9
    Guest
    You could use Cipher encrypting, same as RC4, which will encrypt any type of file. Click Cipher and you will see a few things on it from http://www.planet-source-code.com.

  10. #10

    Thread Starter
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877
    Hi Guys,
    Thanks againg, u been a great help, i already have a better understanding of Encryption. I and currently looking at some source code from Planet-Source-code.

    Danial
    [VBF RSS Feed]

    There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.

    If I have been helpful, Please Rate my Post. Thanks.

    This post was powered by :

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