Standalone Java reference implementation of Diffie Hellman