From 0fb12df9119f522b138edbc6b7dfabe9fa532c1c Mon Sep 17 00:00:00 2001 From: xtaci Date: Tue, 9 Jul 2024 14:07:26 +0800 Subject: [PATCH] revert PRIME to normal --- dppk.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dppk.go b/dppk.go index a423a8c..b694cee 100644 --- a/dppk.go +++ b/dppk.go @@ -8,8 +8,9 @@ import ( ) // PRIME is the prime number used in the DPPK protocol. -// const PRIME = "32317006071311007300714876688669951960444102669715484032130345427524655138867890893197201411522913463688717960921898019494119559150490921095088152386448283120630877367300996091750197750389652106796057638384067568276792218642619756161838094338476170470581645852036305042887575891541065808607552399123930385521914333389668342420684974786564569494856176035326322058077805659331026192708460314150258592864177116725943603718461857357598351152301645904403697613233287231227125684710820209725157101726931323469678542580656697935045997268352998638215525166389437335543602135433229604645318478604952148193555853611059596231637" -const PRIME = "977" +const PRIME = "32317006071311007300714876688669951960444102669715484032130345427524655138867890893197201411522913463688717960921898019494119559150490921095088152386448283120630877367300996091750197750389652106796057638384067568276792218642619756161838094338476170470581645852036305042887575891541065808607552399123930385521914333389668342420684974786564569494856176035326322058077805659331026192708460314150258592864177116725943603718461857357598351152301645904403697613233287231227125684710820209725157101726931323469678542580656697935045997268352998638215525166389437335543602135433229604645318478604952148193555853611059596231637" + +//const PRIME = "977" const ( ERRMSG_ORDER = "order must be at least 5"