Results 1 to 2 of 2
  1. #1
    ebing is offline Member
    Join Date
    Aug 2011
    Posts
    2
    Rep Power
    0

    Default Encrypting a big file

    I hace a database created, whit administrator program createthe file with all products, are 6000 products, this file must be shared to others client-programs, that i want is that my administrator program upload to a server and with the client-program download it, but nobody can open the dile to view the information. i want the file will be safe. I recomend me encrypting with RSA, but i dont have clear this process for a file. I have understood that the size is multiplied. What do you recommend for encrypting the file and a example for this.


    Thank you
    Esteban

  2. #2
    Hibernate's Avatar
    Hibernate is offline Senior Member
    Join Date
    Dec 2010
    Location
    Stockholm, Sweden
    Posts
    222
    Blog Entries
    9
    Rep Power
    5

    Default

    I'm not sure what you want to do.


    RSA must not be used for encrypting regular data, it makes it unsafe.
    For big data RSA is slow as well as unsafe.

    RSA (or alike) should be used for symmetric key exchange.
    BE aware of time attacks in RSA key exchange process.
    RSA should be included in Java's cryptography package.

    For encrypting files you may want to use a block cipher (those are usually best) found I Java's cryptography package. You can (but should not) also go old school and use a simple Vigenère cipher.
    Ex animo! Hibernate
    Java, Arch Linux, C, GPL v3, Bash, Eclipse, Linux VT, GNOME 2 and many buttons on windows.

Similar Threads

  1. Encrypting unique columns
    By andy16 in forum JDBC
    Replies: 0
    Last Post: 05-26-2010, 08:57 PM
  2. Error Encrypting Session Key
    By InduM in forum New To Java
    Replies: 1
    Last Post: 12-02-2009, 09:08 AM
  3. My encrypting thingy lags alot..
    By Addez in forum New To Java
    Replies: 3
    Last Post: 09-16-2009, 12:33 AM
  4. Encrypting packets
    By bugger in forum Networking
    Replies: 2
    Last Post: 02-04-2008, 11:24 AM
  5. Encrypting File in Java
    By sandeepkk2005 in forum Advanced Java
    Replies: 0
    Last Post: 11-27-2007, 09:16 AM

Posting Permissions

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