AudioController/Assets/Scripts/UtilityData.cs
/// <summary>
/// Generates md5 hash based on current time + guid object.
/// </summary>
/// <returns>String containing md5 hash.</returns>
Generates md5 hash based on current time + guid object.
Generates md5 hash based on current time + guid object .
public static string GenerateHash()
        {
            MD5 md5Hasher = MD5.Create();
            byte[] data = md5Hasher.ComputeHash(
                System.Text.Encoding.Default.GetBytes(GenerateString())
            );
            return System.BitConverter.ToString(data);
        }
public static string GenerateHash ( ) { MD5 md5Hasher = MD5 . Create ( ) ; byte [ ] data = md5Hasher . ComputeHash ( System . Text . Encoding . Default . GetBytes ( GenerateString ( ) ) ) ; return System . BitConverter . ToString ( data ) ; }
Generates md5 hash based on current time + guid object.
Generates md5 hash based on current time + guid object .
String containing md5 hash.
String containing md5 hash .