How to call Hash algorthem from server side RRS feed

  • Question

  • User-1636529369 posted


    I've created a web site withe membership and I used hash algorithm with salt to encrypted password which is in .cs page like example below, and then save it in SQL database..

    My questions: Is there is a way to call encryption method in client side "to encrypt password then send it to server side" rather server side??? How can do this??? Can you explain for my example?

    In Login page I call hash by using

    var h = new AESEncryption();
    hashSalt = h.ComputeHash(inputstring, "SHA256", salt)

    For encrption method in .cs the code is

    using System;
    using System.Collections.Generic;
    using System.Text;
    using System.IO; 
    using System.Security.Cryptography;
    using System.Runtime.InteropServices;
    namespace Utils.Encryption
        public interface AESEncryptionInterface

    Wednesday, October 17, 2012 12:23 PM

All replies