Relative Content

Tag Archive for javadiffie-hellman

Using pre-computed Diffie-Hellman parameter sets in a Java library

I’m implementing an authenticated communication channel that uses Diffie-Hellman to have messages contain HMACs over the agreed secret, but currently I’m generating my own parameters which is painfully slow and unfit for use with weak IoT computers (as is my requirement), even if I only compute once then reuse the parameters. I’ve seen people saying there are readily available parameters fit for general use, but haven’t found them.