# Tag Info

I think somehow since $pin \in [0,9999]$ we should be able to brute force the value but I am unable to come up with the math to do so. Unless the random number generator is broken, there is no way to recover pin; this would remain true even if we were able to compute discrete logs mod $P$ (which we can't). The issue is that the public key is generated as: ...
Standard DHKE Standard DHKE is defined on the multiplicative groups. Alice and Bob agree on the cyclic group $G$ of order $n$ and a generator $g$ then the key agreement is performed as follows; \begin{array}{lcl} \text{Alice} & \text{Transmit} & \text{Bob}\\ \hline a \stackrel{R}{\leftarrow} [1,n-1]& & b \stackrel{R}{\leftarrow} [1,n-1]\\ \...