Top "Diffie-hellman" questions

Diffie-Hellman, commonly abbreviated DH, refers to a public key cryptographic protocol used by two parties to produce a common shared secret.

Why does SSL handshake give 'Could not generate DH keypair' exception?

When I make an SSL connection with some IRC servers (but not others - presumably due to the server's preferred …

java ssl cryptography diffie-hellman
Convert python long/int to fixed size byte array

I'm trying to implement RC4 and DH key exchange in python. Problem is that I have no idea about how …

python bytearray long-integer diffie-hellman rc4-cipher
How does the man in the middle attack work in Diffie–Hellman?

I'm having doubts about the mechanics of a man in the middle attack during a Diffie–Hellman key exchange. I …

public-key-encryption diffie-hellman
DH vs. DHE and ECDHE and perfect forward secrecy

Does Diffie-Hellman (DH) provide perfect forward secrecy? or is it a feature for Ephemeral Diffie-Hellman (DHE) only ? Is Elliptic Curve …

ssl public-key-encryption diffie-hellman
Diffie-Hellman public key error with Tomcat 7

I successfully set up two Ubuntu machines with Tomcat and SSL certificates. I followed exactly the same procedure with Centos 6, …

tomcat ssl centos certificate diffie-hellman
AES encryption: InvalidKeyException: Key length not 128/192/256 bits

I'm trying to encrypt a string on Android with AES. The symmetric key is determined previously with the Diffie-Hellman algorithm …

android encryption aes diffie-hellman
How to expand DH key size to 2048 in java 8

I read a lot of posts saying that in java 8 it is possible to expand the DH key size to 2048. …

java security ssl diffie-hellman
Is there a standardized fixed-length encoding for EC public keys?

I was wondering if there was (and I hope there is) a standard for public key size for ECDH (Elliptic …

cryptography digital-signature dsa elliptic-curve diffie-hellman
Java Diffie-Hellman key exchange

I'm trying to execute code to perform the Diffie-Hellman key exchange. I sourced the code from an example online (forget …

java bouncycastle diffie-hellman
Client-side encryption over HTTP with Diffie-Hellman Key Exchange and AES

After watching a YouTube video on the Diffie-Hellman Key Exchange, I wanted to try an implementation in JavaScript (Atwood's law). …

javascript node.js encryption aes diffie-hellman