Results 1 to 40 of 56

Thread: [RESOLVED] How to Write an encripted Text File???

Hybrid View

  1. #1

    Thread Starter
    PowerPoster ThEiMp's Avatar
    Join Date
    Dec 2007
    Location
    Take The PCI Bus Across To The CPU!!
    Posts
    3,948

    Re: How to Write an encripted Text File???

    Thanks I will try that!!
    I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...

    |Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Love Shack | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University | Ambra Cheese |

    Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...

  2. #2
    Member
    Join Date
    May 2010
    Posts
    35

    Re: [RESOLVED] How to Write an encripted Text File???

    This is how i solved it:

    First I googled a hashing algorithm (I found one which is one way hashing algorithm)

    Then I created a username and password, and stored the raw username and the hashed password and an access number (will tell you how i calculated this number)

    When you login just hash the password and compare the username and hashed passwords combination. if they match resolve the access number.

    The access number was calculated in the following way (this can be done in various ways but its the most foolproof idea i had)

    I made a string with all alphabet both caps, lower case and numbers. Then I go through the username letter by letter and search for it in that alphanumeric string, adding the position in the string it is found to a variable. When all username is added up i add 4 for admin rights, 8 for level 1, 16 for level 2 and so on and so forth. to find access level when you login just perform the strign search of the username and subtract the number read from the file to the total added. if it's 4 give him admin rights, 8 levle 1 etc etc

    this way even if they try to hash a password or leave it empty or something they still have to crack the "encryption" behind the access number...

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