From a1809aad76ad9b2b0011805cbb11c8afc4dbfc6c Mon Sep 17 00:00:00 2001 From: cedoor Date: Tue, 14 May 2024 11:27:48 +0100 Subject: [PATCH] docs(ecdh): update function comments --- packages/ecdh/src/ecdh.circom | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/ecdh/src/ecdh.circom b/packages/ecdh/src/ecdh.circom index 15bcb84..973cc63 100644 --- a/packages/ecdh/src/ecdh.circom +++ b/packages/ecdh/src/ecdh.circom @@ -5,11 +5,10 @@ include "./bitify.circom"; include "./escalarmulany.circom"; // ECDH Is a a template which allows to generate a shared secret -// from a private key and a public key -// on the baby jubjub curve +// from a private key and a public key on the baby jubjub curve // It is important that the private key is hashed and pruned first // which can be accomplished using the function -// deriveScalar from @zk-kit/baby-jubjub +// deriveSecretScalar from @zk-kit/eddsa-poseidon. template Ecdh() { // the private key must pass through deriveScalar first signal input privateKey;