Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8229629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T16:51:36+00:00 2026-06-07T16:51:36+00:00

String inputPass = textBox2.Text; byte[] inputBytes = System.Text.Encoding.UTF8.GetBytes(inputPass); byte[] inputHashedBytes = Sha256.ComputeHash(inputBytes); String inputHash

  • 0
String inputPass = textBox2.Text;
byte[] inputBytes = System.Text.Encoding.UTF8.GetBytes(inputPass);
byte[] inputHashedBytes = Sha256.ComputeHash(inputBytes);
String inputHash = Convert.ToBase64String(inputHashedBytes);

I’m getting some strange output:

Q9nXCEhAn7RkIOVgBbBeOd5LiH7FWFtDFJ22TMLSoH8=

By output hash looks like this:

43d9d70828409fb46420e56005b05e38de4b887ec5585b43149db64cc2d2a07f

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T16:51:38+00:00Added an answer on June 7, 2026 at 4:51 pm
    // This is where you get the actual binary hash
    byte[] inputHashedBytes = Sha256.ComputeHash(inputBytes);
    
    // But you want it in a string format, similar to a variety of Unix tools
    string result = BitConverter.ToString(inputHashedBytes)
       // This will remove all the dashes in between each two characters
       .Replace("-", string.Empty)
       // And make it lowercase
       .ToLower();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

string[] lines = { textBox1.Text, textBox2.Text, textBox3.Text, textBox4.Text, textBox5.Text, textBox6.Text }; Random RandString =
string sql = select * from customer where name like ' + textBox2.Text +
string one = find; combobox1.text = one; I want to use one i.e string
string s = <script type=text/javascript src=/stepcarousel.js></script> How can I get the data inside the
string EV_HOME = System.Environment.GetEnvironmentVariable(EV_HOME); string myFilePath = EV_HOME + \\MyFolder\\MySubFolder; Suppose EV_HOME return C:\myprogram\leanrning\anotherfolder
String x = Welcome to Java World; System.out.println(x.replaceAll(.*,JAVA)); Actual Output = JAVAJAVA . Excepted
String.split() generates a NullPointerException. BufferedReader brs = new BufferedReader(new InputStreamReader(System.in)); String s1; String s2[];
String 2011-05-19 10:30:14 To Thu May 19 10:30:14 UTC 2011 How can I convert
String tagIdentifier=12; String sMyXML = ; sMyXML += <?xml version=\1.0\ encoding=\UTF-8\?>; sMyXML += <Tag>;
string percentage = e.Row.Cells[7].Text; I am trying to do some dynamic stuff with my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.