Click here to Skip to main content
15,911,891 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Assign a value to a hidden field from javascript Pin
Christian Graus15-Jul-09 1:17
protectorChristian Graus15-Jul-09 1:17 
GeneralRe: Assign a value to a hidden field from javascript Pin
yesu prakash15-Jul-09 1:22
yesu prakash15-Jul-09 1:22 
GeneralRe: Assign a value to a hidden field from javascript Pin
Christian Graus15-Jul-09 1:29
protectorChristian Graus15-Jul-09 1:29 
GeneralRe: Assign a value to a hidden field from javascript Pin
yesu prakash15-Jul-09 1:46
yesu prakash15-Jul-09 1:46 
GeneralRe: Assign a value to a hidden field from javascript Pin
Christian Graus15-Jul-09 2:34
protectorChristian Graus15-Jul-09 2:34 
GeneralRe: Assign a value to a hidden field from javascript Pin
yesu prakash15-Jul-09 2:59
yesu prakash15-Jul-09 2:59 
AnswerRe: Assign a value to a hidden field from javascript Pin
Ajeet mittal15-Jul-09 3:12
Ajeet mittal15-Jul-09 3:12 
QuestionHow to decrypt the password Pin
janani1315-Jul-09 0:45
janani1315-Jul-09 0:45 
How to decrypt the password with is encrypted by sha alg.
public static string HashPassword(string plainMessage)
    {
        byte[] data = Encoding.UTF8.GetBytes(plainMessage);
        using (HashAlgorithm sha = new SHA256Managed())
        {
            byte[] encryptedBytes = sha.TransformFinalBlock(data, 0, data.Length);
            return Convert.ToBase64String(sha.Hash);
        }
    }

  
    #endregion

    protected void btnSubmit_Click(object sender, EventArgs e)
    {
        bo.UserID = txtUserId.Text;
        Password p = new Password(txtPassword.Text.ToString());
        String newpwd = p.SaltedPassword;
        System.Nullable<int> newsaltkey = p.Salt;
        bo.Encryptpwd = newpwd;
        bo.Saltkey = p.Salt;
        bo.Password = txtPassword.Text;

        passwordFormat = MembershipPasswordFormat.Hashed;
        if (passwordFormat == MembershipPasswordFormat.Hashed)
            bo.Blogpwd = HashPassword(txtPassword.Text);
        else
            bo.Blogpwd = txtPassword.Text;

AnswerRe: How to decrypt the password Pin
Sabari MD15-Jul-09 1:02
Sabari MD15-Jul-09 1:02 
AnswerRe: How to decrypt the password Pin
Christian Graus15-Jul-09 1:18
protectorChristian Graus15-Jul-09 1:18 
GeneralRe: How to decrypt the password Pin
janani1315-Jul-09 1:35
janani1315-Jul-09 1:35 
QuestionData Binding in Custom Control Pin
pulak srivastava15-Jul-09 0:35
pulak srivastava15-Jul-09 0:35 
QuestionASP.net With Oracle Pin
sandhya1415-Jul-09 0:18
sandhya1415-Jul-09 0:18 
AnswerRe: ASP.net With Oracle Pin
Christian Graus15-Jul-09 0:41
protectorChristian Graus15-Jul-09 0:41 
AnswerRe: ASP.net With Oracle Pin
sandhya1415-Jul-09 0:58
sandhya1415-Jul-09 0:58 
GeneralRe: ASP.net With Oracle Pin
Christian Graus15-Jul-09 1:19
protectorChristian Graus15-Jul-09 1:19 
GeneralRe: ASP.net With Oracle Pin
sandhya1415-Jul-09 1:27
sandhya1415-Jul-09 1:27 
GeneralRe: ASP.net With Oracle Pin
r a m e s h15-Jul-09 1:21
r a m e s h15-Jul-09 1:21 
QuestionProblem with Ajax update panel Pin
hozsam14-Jul-09 23:40
hozsam14-Jul-09 23:40 
AnswerRe: Problem with Ajax update panel Pin
Christian Graus15-Jul-09 0:42
protectorChristian Graus15-Jul-09 0:42 
GeneralRe: Problem with Ajax update panel Pin
hozsam15-Jul-09 1:22
hozsam15-Jul-09 1:22 
Questionlistview HoverMenuExtender not working Pin
ademsandeepreddy14-Jul-09 23:07
ademsandeepreddy14-Jul-09 23:07 
QuestionRPC Server is Unavailable Pin
Sabari MD14-Jul-09 22:37
Sabari MD14-Jul-09 22:37 
AnswerRe: RPC Server is Unavailable Pin
Blue_Boy14-Jul-09 22:38
Blue_Boy14-Jul-09 22:38 
QuestionBest Method to Instantiate a Class Pin
Bardy8514-Jul-09 22:01
Bardy8514-Jul-09 22:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.