Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

get sha1 hashcode from c#

public static string GetSha1(string value)
        {
            var data = Encoding.ASCII.GetBytes(value);
            var hashData = new SHA1Managed().ComputeHash(data);
            var hash = string.Empty;
            foreach (var b in hashData)
            {
                hash += b.ToString("X2");
            }                
            return hash;
        }
Comment

PREVIOUS NEXT
Code Example
Csharp :: sort file name with C# 
Csharp :: c# round number up 
Csharp :: bundle.config in mvc is missing 
Csharp :: contains duplicate 
Csharp :: array object to datatable c# 
Csharp :: unity c# struct 
Csharp :: basic of c# sockets 
Csharp :: how to acivate a game object unity 
Csharp :: c# convert list to array function 
Csharp :: columndefinition wpf 
Csharp :: c# picturebox transparente 
Csharp :: c# streamwriter add new line 
Csharp :: c# #region #endregion 
Csharp :: entity framework insert 
Csharp :: c# int 
Csharp :: C# bitwise operation 
Csharp :: c# sort int array 
Csharp :: unity unfreeze position in script 
Csharp :: dapper sql builder where 
Csharp :: how to set border for groupbox in c# 
Csharp :: pyqt minimize to tray icon 
Csharp :: order 3 integers in c# 
Csharp :: c# nullable generic 
Csharp :: rotate along normal unity 
Csharp :: reload usercontol wpf 
Csharp :: get ad user using email address microsoft graph C# 
Csharp :: delete all rows from table mvc 
Csharp :: exceeds your upload_max_filesize ini directive (limit is 2048 KiB). 
Csharp :: freeze scene unity 
Csharp :: how to mock http client c# 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =