Random r = new Random();
            byte[] bytes = new byte[6];
            
            var t = new StringBuilder();
            for (int j = 0; j < 16; j++)
            {
                r.NextBytes(bytes);
                t.AppendLine("KeyA["+ j +"] = \"" + ByteHexHelper.ByteToHex(bytes) + "\";");
            }
            for (int j = 0; j < 16; j++)
            {
                r.NextBytes(bytes);
                t.AppendLine("KeyB[" + j + "] = \"" + ByteHexHelper.ByteToHex(bytes) + "\";");
            }
            textBox3.Text = t.ToString();

 

相关文章:

  • 2022-12-23
  • 2021-11-17
  • 2022-02-20
  • 2022-12-23
  • 2021-12-27
  • 2021-12-14
  • 2022-12-23
  • 2021-12-29
猜你喜欢
  • 2021-11-26
  • 2021-09-18
  • 2021-10-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-03
相关资源
相似解决方案