Results 1 to 4 of 4
  1. #1
    Addez is offline Senior Member
    Join Date
    Aug 2009
    Posts
    294
    Rep Power
    0

    Default My encrypting thingy lags alot..

    Hi!
    Im made this enqrypt thingy that takes the first 4 number in the first bit and add it on the end..
    And then rearange the bits to fit in order..
    So it really makes no sence when u try to read it again..
    So anyways, It worked fine!
    I tried it on some txt files, and it enqrypted and worked really well!

    But then I went on to htm pages and tried convert a downloaded page (56 kb)
    and I meed, it is taking FOREVER!
    So I made a displayStatus function, so that I will see how much is done..
    And that function is runnign every time it edits a bit.
    But it doesnt display ANYTHING!

    It's really weard! Idk why but my computer just starts working alot but nothing seem to happen!

    Could It be that I broke the length of a string limit?
    Cause all bits in this 56kb file is being put under one string..
    Could this cause the problem?

    Cause I got a fast computer, doubt it's the comps fault..

    Thanks alot for taking time reading and answering this :D

  2. #2
    Addez is offline Senior Member
    Join Date
    Aug 2009
    Posts
    294
    Rep Power
    0

    Default

    nvm, it seemed to work.. Tho it took alot of time before it started..
    Does anyone know how to minemize the time of the encrypting?

  3. #3
    mrmatt1111's Avatar
    mrmatt1111 is offline Senior Member
    Join Date
    Aug 2009
    Location
    San Jose, CA, USA
    Posts
    320
    Rep Power
    11

    Default

    Bitwise operators, if you haven't used them already, will likely speed things up.
    My Hobby Project: LegacyClone

  4. #4
    Addez is offline Senior Member
    Join Date
    Aug 2009
    Posts
    294
    Rep Power
    0

    Default

    I do not find any use of it..
    Could u gimme one if u had any specific use in mind?

Similar Threads

  1. Payroll output thingy...
    By ShadowUndertow in forum NetBeans
    Replies: 3
    Last Post: 08-25-2009, 03:25 AM
  2. Encrypting packets
    By bugger in forum Networking
    Replies: 2
    Last Post: 02-04-2008, 11:24 AM
  3. Encrypting File in Java
    By sandeepkk2005 in forum Advanced Java
    Replies: 0
    Last Post: 11-27-2007, 09:16 AM

Tags for this Thread

Posting Permissions

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