|
@@ -6,8 +6,6 @@ import (
|
|
"crypto/rsa"
|
|
"crypto/rsa"
|
|
"fmt"
|
|
"fmt"
|
|
"hash"
|
|
"hash"
|
|
-
|
|
|
|
- "code.senomas.com/go/util"
|
|
|
|
)
|
|
)
|
|
|
|
|
|
// Signer struct
|
|
// Signer struct
|
|
@@ -32,7 +30,7 @@ func (signer *Signer) Write(p []byte) (n int, err error) {
|
|
|
|
|
|
// WriteUint64 func
|
|
// WriteUint64 func
|
|
func (signer *Signer) WriteUint64(v uint64) {
|
|
func (signer *Signer) WriteUint64(v uint64) {
|
|
- signer.h.Write(util.Uint64ToBytes(v))
|
|
|
|
|
|
+ signer.h.Write(Uint64ToBytes(v))
|
|
}
|
|
}
|
|
|
|
|
|
// Sign func
|
|
// Sign func
|