Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Umbraco
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 password = "pass123"; HMACSHA1 hash = new HMACSHA1(); hash.Key = Encoding.Unicode.GetBytes(password); string encodedPassword = Convert.ToBase64String(hash.ComputeHash(Encoding.Unicode.GetBytes(password))); Console.WriteLine(encodedPassword); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
temp1
Create URL Safe and Cryptographically Strong Short GUID
Testing 008
Сортировка массива
Project Euler Problem 10
ok
Schrikkeljaar
Leapyear
Project Euler Problem 6
useful
Please log in to post a comment.