AudioController/Assets/Scripts/UtilityData.cs
/// <summary>
/// Generates md5 hash based on input string.
/// </summary>        
/// <param name="input">String, used as buffer.</param>
/// <returns>String containing md5 hash.</returns>
Generates md5 hash based on input string.
Generates md5 hash based on input string .
public static string GenerateHash(string input)
        {
            MD5 md5Hasher = MD5.Create();
            byte[] data = md5Hasher.ComputeHash(
                System.Text.Encoding.Default.GetBytes(input)
            );
            return System.BitConverter.ToString(data);
        }
public static string GenerateHash ( string input ) { MD5 md5Hasher = MD5 . Create ( ) ; byte [ ] data = md5Hasher . ComputeHash ( System . Text . Encoding . Default . GetBytes ( input ) ) ; return System . BitConverter . ToString ( data ) ; }
Generates md5 hash based on input string.
Generates md5 hash based on input string .
String containing md5 hash.
String containing md5 hash .
input
string
String, used as buffer.
String used as buffer .