Password & salt Encryption (Hash)

Last post 12-04-2007 8:05 AM by Careed. 3 replies.

Sort Posts:

  • Password & salt Encryption (Hash)

    12-01-2007, 3:32 AM
    • Member
      point Member
    • subai
    • Member since 12-01-2007, 8:07 AM
    • Posts 2

    hi

     i want to register users in win app instead of web forms, (the web app is a DotNetNuke Portal)

    my problem is : i don't know what Algorithm Used for password  Encryption and my bigger problem is i want to do encrypt/hash my self and pass the encrypted/hashed value to membership_createUser storedProcedure

    i searched the forum and found some usefull posts but the hashed value i produced is different from a known hashed password/salt in database, i don't know what to do, i want just the value of produced password/salt by my app become exactly like produced password/salt by aspMembership classes.

    i appreciate any idea and thx in advance

     

    I wish the life had Ctrl-Z
    Hamed.Mojarad.Satari
  • Re: Password & salt Encryption (Hash)

    12-01-2007, 11:15 AM
    • Star
      8,210 point Star
    • Careed
    • Member since 06-24-2002, 3:37 AM
    • Lubbock, TX
    • Posts 1,611

    You can always develop your on Membership Provider class.  This way, you can define how your passwords are hashed, encrypted, and salted.

    Look here from more information: http://msdn2.microsoft.com/en-us/asp.net/aa336558.aspx 

    Christopher Reed
    "The oxen are slow, but the earth is patient."
  • Re: Password & salt Encryption (Hash)

    12-04-2007, 2:58 AM
    • Member
      point Member
    • subai
    • Member since 12-01-2007, 8:07 AM
    • Posts 2

    thx for replying

    but because i'm using dotnetnuke i prefer to do not change any thing about membership , dnn uses it's own membership combined with asp membership 

    so  the best solution for me is doing the hash process outside and pass the values

     

    I wish the life had Ctrl-Z
    Hamed.Mojarad.Satari
  • Re: Password & salt Encryption (Hash)

    12-04-2007, 8:05 AM
    Answer
    • Star
      8,210 point Star
    • Careed
    • Member since 06-24-2002, 3:37 AM
    • Lubbock, TX
    • Posts 1,611
    Keep in mind that you can get the source code for DNN.  You could use that as a basis of developing a membership provider for your Windows app that uses the same encryption technique.
    Christopher Reed
    "The oxen are slow, but the earth is patient."
Page 1 of 1 (4 items)