diff --git a/storage/e2e/key.go b/storage/e2e/key.go index 616952167a9bfc73183d8411ac2503900c765dea..8f49aa3db19f1f14327d46a570f72551bee1ce48 100644 --- a/storage/e2e/key.go +++ b/storage/e2e/key.go @@ -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 }