|
@@ -51,8 +51,7 @@ func Sign(parameters map[string]string, apiKey string, fn func() hash.Hash) stri
|
|
|
buf = buf[:0]
|
|
buf = buf[:0]
|
|
|
buf = append(buf, "key="...)
|
|
buf = append(buf, "key="...)
|
|
|
buf = append(buf, apiKey...)
|
|
buf = append(buf, apiKey...)
|
|
|
- fmt.Printf("----buf %v", buf)
|
|
|
|
|
- fmt.Printf("----buf %v", buf)
|
|
|
|
|
|
|
+ fmt.Printf("----bufs %s", buf)
|
|
|
h.Write(buf)
|
|
h.Write(buf)
|
|
|
|
|
|
|
|
signature := make([]byte, h.Size()*2)
|
|
signature := make([]byte, h.Size()*2)
|