LazyBot/Assets/Scripts/Utility/UtilityData.cs
/// <summary>
/// Generate md5 hash as byte array.
/// </summary>
/// <returns>Byte array, represents md5 hash.</returns>
Generate md5 hash as byte array.
Generate md5 hash as byte array .
public static byte[] GenerateHashArray()
        {
            MD5 md5Hasher = MD5.Create();
            byte[] data = md5Hasher.ComputeHash(
                System.Text.Encoding.Default.GetBytes(GenerateString())
            );
            return data;
        }
public static byte [ ] GenerateHashArray ( ) { MD5 md5Hasher = MD5 . Create ( ) ; byte [ ] data = md5Hasher . ComputeHash ( System . Text . Encoding . Default . GetBytes ( GenerateString ( ) ) ) ; return data ; }
Generate md5 hash as byte array.
Generate md5 hash as byte array .
Byte array, represents md5 hash.
Byte array represents md5 hash .