I try to make a deffie-hellman-sub to exchange secret keys between two devices. Does anybody know, if the syntax for the following calculation is correct? It builds the foundation for the calculations..
Thanks for help..
B4X:
y=Power(g,x) mod p
Thanks for help..