搜索资源列表
sdfsdfas
- int bitmapHeight = button1.Top- 20 bitmap = new Bitmap(bitmapWidth, bitmapHeight, this.CreateGraphics()) Graphics g = Graphics.FromImage(bitmap) g.Clear(this.BackColor) g.FillEllipse(new SolidBrush(Color.YellowGreen),5,5 ,bitmapWidth
discrete_log
- Solve descrete log problem using meet in the middle attack. More formally, write a program to compute discrete log modulo a prime p. Let g be some element in Z p and suppose you are given h in Z p such that h = gx where 1 ≤ x ≤ 240. Your goal
diffie_hellman
- Implement Diffie-Hellman Key exchange protocol and demonstrate that at the end, both person will have a common Key. Do the following: 1. Set a variable p ( e.g. p = 37) and g (e.g. g = 5). 2. Generate a, a random number mod p. Now generate A,
