Results 1 to 2 of 2

Thread: C# password salt information

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2017
    Posts
    38

    C# password salt information

    I have an existing VBA application which makes use of borrowed code to generate a random salt of a preset length and Base64 encoding. Now that I am beginning with C# using Visual Studio I need to be able to do the same operations for login to my database except rebuild in C#. My VBA stored the salt and the salted password and user name in the database back end. On the front end I take the password supplied by the user run the SHA512 hash with the stored salt and see that the hashed salted password matches the stored salted password. I am looking for the code or library to be able do all of this in C#.

    Thank you.

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: C# password salt information

    Easy... just google C# SHA512 and there's plenty of links that come up that should help.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

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
  •  



Click Here to Expand Forum to Full Width