Results 1 to 18 of 18

Thread: String encryption - suggestions asked

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #18
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: String encryption - suggestions asked

    Quote Originally Posted by TheRonin View Post
    If i were to use one of say, 100 schemes, i only have 100 possible combinations. Compare this to using a key of just 8 bits that gives you 256 possible combinations. You get greater security with less work since you don't need to create a bunch of different scrambling methods.
    What about 20922789888000 schemes? And all you need is to write a single method that permutes 16-bit value. As long as the server can't tell the difference between a valid string and scrambled one (either by using data it has at hand or by asking one of the clients), you're protected by plain probability.

    Quote Originally Posted by TheRonin View Post
    I believe using a strong method of encryption along with a stable framework for key distribution would be the wise choice, in the field.
    Yes, you're right, but it's hard to meet those same-length and digits-only requirements.
    Last edited by jacek; 15th February 2007 at 16:06. Reason: typo

Similar Threads

  1. saving a c string of variable length in a shared memory?
    By nass in forum General Programming
    Replies: 4
    Last Post: 3rd January 2007, 14:40

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.