Skip to content
Snippets Groups Projects
Commit ddd13481 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Add debug print to base session key gen func

parent 9512cdf7
No related branches found
No related tags found
2 merge requests!117Release,!73Quantum secure xx messenger key negotiation
......@@ -15,6 +15,7 @@ import (
"github.com/cloudflare/circl/dh/sidh"
"gitlab.com/elixxir/crypto/cyclic"
dh "gitlab.com/elixxir/crypto/diffieHellman"
jww "github.com/spf13/jwalterweatherman"
)
// GenerateE2ESessionBaseKey returns the baseKey symmetric encryption key root.
......@@ -44,6 +45,8 @@ func GenerateE2ESessionBaseKey(myDHPrivKey, theirDHPubKey *cyclic.Int,
baseKey := hash.ExpandKey(hash.CMixHash.New, dhGrp, keyDigest,
dhGrp.NewInt(1))
jww.INFO.Printf("Generated E2E Base Key: %s", baseKey.Text(16))
return baseKey
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment