Results 1 to 11 of 11

Thread: where to store the strings in main app

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2010
    Posts
    309

    where to store the strings in main app

    Hi guys,

    I need your help. I want to create the matched strings in vb.net and set them as private, so no one could read them when using ollydby.


    Here's the code:

    Code:
    Dim a As string = "ˆ"
    Dim b As string = "%"
    Dim c As string = "ÿ"
    Dim d As string = "o"
    
    
    if a & b & c & d then
    'find the matched strings and set them together...'
    end if

    I want to know how to set the matched strings by finding them in main app, then get the matched strings and make the words join in together. For e.g: the strings of "ˆ" stands for h, "%" stands for e, "ÿ" stands for l and "o". So the words for altogether would be "hello". I also curious where is the best place to store the matched strings of "hello" somewhere in the main app without anyone could tracking them??


    Any info would be much appreciate.

    Thanks in advance.
    PillaKilla

  2. #2
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,423

    Re: where to store the strings in main app

    you could use encryption or a binary file that holds the codes for each letter of the alphabet

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2010
    Posts
    309

    Re: where to store the strings in main app

    Thanks for your help, so where should I store the encrypted key in the main app and is it safe to store the encrypted strings in app.config or they can still be decrypt?


    Thanks,
    PillKilla
    Last edited by PillKilla; Oct 17th, 2010 at 05:34 PM.

  4. #4
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,423

    Re: where to store the strings in main app

    i've never used encryption. search the forum. it's been asked many times before...

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2010
    Posts
    309

    Re: where to store the strings in main app

    Oh ok, I have tried to search on the forum but couldn't find one. Please could post the link as it would help to speed it up. I am looking for store public key in main app.


    Thanks,
    Pillkilla

  6. #6

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2010
    Posts
    309

    Re: where to store the strings in main app

    Sorry - no matches. Please try some different terms.

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2010
    Posts
    309

    Re: where to store the strings in main app

    can you send me the correct full link please??

  9. #9
    PowerPoster Jenner's Avatar
    Join Date
    Jan 2008
    Location
    Mentor, OH
    Posts
    3,712

    Re: where to store the strings in main app

    Look at the link in my signature titled "Strong Encryption Class".
    My CodeBank Submissions: TETRIS using VB.NET2010 and XNA4.0, Strong Encryption Class, Hardware ID Information Class, Generic .NET Data Provider Class, Lambda Function Example, Lat/Long to UTM Conversion Class, Audio Class using BASS.DLL

    Remember to RATE the people who helped you and mark your forum RESOLVED when you're done!

    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe. "
    - Albert Einstein

  10. #10

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2010
    Posts
    309

    Re: where to store the strings in main app

    No, I am asked the one where to store the private key secure in the main app??

  11. #11
    PowerPoster Jenner's Avatar
    Join Date
    Jan 2008
    Location
    Mentor, OH
    Posts
    3,712

    Re: where to store the strings in main app

    Depends on how secure you want it. There is no totally secure way to store a static symmetrical key. They can all be broken. You could store it encrypted, but then you'd need to store the key that encrypted that... You can store it broken into pieces or symbolons, but the program has to re-arrange them together at some point and that's when it can be obtained.

    The only really secure way to do it is have the user enter the key or a portion of the key themselves; in the form of a password.
    My CodeBank Submissions: TETRIS using VB.NET2010 and XNA4.0, Strong Encryption Class, Hardware ID Information Class, Generic .NET Data Provider Class, Lambda Function Example, Lat/Long to UTM Conversion Class, Audio Class using BASS.DLL

    Remember to RATE the people who helped you and mark your forum RESOLVED when you're done!

    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe. "
    - Albert Einstein

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