private static byte[] CreateByteArray(int length) { byte[] result = new byte[length]; Random.NextBytes(result); return result; } }