From fe95048ef30b600549638fe580ad3cc09d315332 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Tue, 7 Mar 2023 09:21:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'test.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.js b/test.js index e87273aa..804deba4 100644 --- a/test.js +++ b/test.js @@ -15,7 +15,7 @@ function generateKeyPair() { }; const publicKey = pointMultiply(G, privateKey); return { - privateKey, + privateKey: privateKey, publicKey: '04' + publicKey.x.toString(16, 64) + publicKey.y.toString(16, 64) }; }