c# md5 int
int source = 123;
String hash;
// Do not omit "using" - should be disposed
using (var md5 = System.Security.Cryptography.MD5.Create())
{
hash = String.Concat(md5.ComputeHash(BitConverter
.GetBytes(source))
.Select(x => x.ToString("x2")));
}
// Test
// d119fabe038bc5d0496051658fd205e6
Console.Write(hash);
Also in C#:
- unity movement on forward
- c# textbox tab column
- unity face direction of movement
- c# getter setter
- Random number unity
- How to solve error in ExecuteNonQuery() in asp.net
- unity create gameobject
- c# lambda expression
- kill child C#
- get random number c#
- c# array.clone
- unity array of child objects
- c# add object to array
- c# webcam
- c# list to string
- c# list all files in a directory and subdirectory
- s3 upload base64 .net core
- asp.net list all files in folder
- c# list tuple
- c# exit console
- how to parse a string to an integer c#
- c# string to float
- unity how to rotate something to point to something else
- C# how to get public key for InternalsVisibleTo