Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about kdf

Read more about kdf

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - kdf

How to do a triple Diffie-Hellman(3 - DH) key agreement in Java using bouncy castle?

There are ample examples on how to do Diffie-Hellman key agreement to compute a shared secret. However, I could not find any example on how to do 3DH in java using bouncy castle(or any security provid...
test-img

Uma Priyadarsi

bouncycastle

diffie-hellman

kdf

hkdf

Votes: 0

Answers: 1

Latest Answer

As mentioned by @Topaco it is just plain concatenation of the three shared secrets. Java code follows: byte[] getAgreementBytes(PrivateKey privKey,PublicKey pubKey) throws NoSuchAlgorithmExceptio...
test-img

Uma Priyadarsi

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved