JavaScript examples

All these examples were developed by Pedro Izecksohn.

To generate a public key from a private key in the Diffie-Hellman keys exchange algorithm

To break Diffie-Hellman encryption algorithm and discover a private key from the public key.

To simplify a fraction.

Loan to be paid in parcels calculator

Loan with compound interest rate calculator

To sum two numbers.