Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
HashPassword
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.IO; using System.Text; using System.Security.Cryptography; namespace Rextester { public class Program { public static void Main(string[] args) { Console.Write(Program.Encrypt("Pa$$w0rd!")); } public static string Encrypt(string raw) { var buffer = Encoding.ASCII.GetBytes(raw); var hash = SHA256.Create().ComputeHash(buffer); return Convert.ToBase64String(hash); } } }
run
|
edit
|
history
|
help
0
type comparison
minimal path for triangle
6.2 Parallelism: locks
Sum
Convert string to TimeSpan in C#
Create RFReader HardwareConfig
datetime
Math 10.81 added quad seq
12
ss