You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: threshold_test.go
+4-1
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ import (
17
17
funcTestCreateTcKeyPair(t*testing.T) {
18
18
exampleData:= []byte("aaabbbcccddd112233")
19
19
signHashed:=sha256.Sum256(exampleData)
20
+
salt:=sha256.Sum256([]byte("everHash salt aaa"))
20
21
21
22
/* -------------------------- Key pair that generates RSA threshold signature on the server side ----------------------------*/
22
23
bitSize:=1024// If the values are 2048 and 4096, then the generation functions below will perform minute-level times, and we need 4096 bits as the maximum safety level for production environments.
{Name: "Data-Introduce", Value: "Happy anniversary, my google and dearest! I‘m so grateful to have you in my life. I love you to infinity and beyond! (⁎⁍̴̛ᴗ⁍̴̛⁎)"},
0 commit comments