Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
SHA加密
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Security.Cryptography; using System.Text; namespace Rextester { public class Program { public static void Main(string[] args) { string result = GetSHA256hash("111abc"); Console.WriteLine(result); } public static string GetSHA256hash(string input) { byte[] clearBytes = Encoding.UTF8.GetBytes(input); SHA256 sha256 = new SHA256Managed(); sha256.ComputeHash(clearBytes); byte[] hashedBytes = sha256.Hash; sha256.Clear(); string output = BitConverter.ToString(hashedBytes).Replace("-", "").ToLower(); return output; } } }
run
|
edit
|
history
|
help
0
Project Euler Problem 9
Plt-D v.0.9.3
Coding
Changing asp net user password
Get missed element in integer collection
Can a == true && a == false be true in C#?
Free Tiktok Fans Generator
Fórum Parallel Threads ( Without Fun )
Hash plus i minus
linq test