Skip to main content

Command Palette

Search for a command to run...

DIFFIE HELLMAN SECURE KEY PROTOCOL

Published
2 min read
DIFFIE HELLMAN SECURE KEY PROTOCOL
P

Welcome to my world of Internet of Things and Cloud Computing. I received my bachelor's degree in the discipline of Internet of Things. I also write technical articles. I am now pursuing a Masters degree in Cloud Computing. I am an Amazon Web Services Certified Cloud Practitioner.

What is Diffie Hellman protocol?

As the name suggests, this algorithm is used to exchange the secret key between the sender and the receiver. This algorithm facilitates the exchange of secret key without actually transmitting it.


STEPS OF PROCEDURE:

STEP 1 : Firslty, choose a large prime number p and a generator g for that prime.

STEP 2 : Secondly, both Alice and Bob generate their respective keys A and B. And (ga,gb) for their keys respectively.

STEP 3 : Both Alice and bob send exchange their ga,gb.

STEP 4 : Finally, both calculate their public keys gab and gba repectively.

STEP 5 : If both gab and gba are equal then Deffie-Hellman key exchange is verified.

df.PNG

Here both gab and gba are equal. Hence, Deffie-Hellman key exchange is verified.

More from this blog

🍁Welcome to Techie Tweed🍁

66 posts

Namaste🙏.... My name is Pavandeep Kaur. I am working in IoT and cloud💭 domain. Being an audacious girl I'm on the way to explore new things. I believe in sharing knowledge💜, so I write.